[Openstack] Error: Unable to create new image [Liberty]

Eugen Block eblock at nde.ag
Thu Mar 10 08:15:21 UTC 2016


Hi Ken,

I deployed Liberty successfully and I didn't have any trouble with the  
image service, I use different tenants and all of them - admin and  
non-admin users - are able to create images.
Do you have any logs that could help? If it was a permission issue, it  
should be visible in some kind, I guess.
If you use CLI and environment scripts, do you export the right API version?

    echo "export OS_IMAGE_API_VERSION=2" | tee -a admin-openrc.sh  
demo-openrc.sh

The glance-api.conf could be missing these values:

    project_domain_id = default
    user_domain_id = default

I noticed a discrepancy between Liberty and Kilo when I didn't set  
these values. If you do, you should make sure that your environment  
scripts contain that information.

    export OS_PROJECT_DOMAIN_ID=default
    export OS_USER_DOMAIN_ID=default


Regards
Eugen

Zitat von Ken D'Ambrosio <ken at jots.org>:

> Hi, all.  In our Icehouse cloud, I had no problems with non-admin  
> users creating images.  In the Liberty cloud we recently stood up,  
> however, that doesn't appear to be enabled.  From reading, I see  
> that it appears to be a setting that needs to be altered in  
> /etc/glance/glance-api.conf, but it's not clear to me what needs to  
> be added.  I've done a fair bit of digging through docs and Stack  
> Overflow, etc., but just don't see
> a) what permission it is that needs to be changed, and
> b) how to enable it specifically in glance-api.conf
>
> Any pointers much appreciated.
>
> -Ken
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-- 
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : eblock at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983





More information about the Openstack mailing list