Glance Image upload and registration fails (Icehouse Ubuntu installation)

asked 2014-04-15 08:58:49 -0500

Claudiu gravatar image

Quick note: following the ubuntu installation docs for Icehouse and i found an issue with the glance image registration. Specifically /var/lib/glance/images is owned by root:root . chown to glance:glance and image upload and registration will be successful

The documentation i'm refering to: (

Step: glance image-create --name=imageLabel --disk-format=fileFormat \ --container-format=containerFormat --is-public=accessValue < imageFile

Resolution: chwon -c -R glance:glance /var/lib/glance/images/

edit retag flag offensive close merge delete


Is this in devstack?

arjun gravatar imagearjun ( 2014-04-21 00:39:20 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-04-25 08:31:25 -0500

annegentle gravatar image

Thanks for the resolution, I think it's similar to this doc bug that was logged a while back.

Basically, for simplicity, the install guide uses the file backend for glance, and when you configure another, you'll have to do additional configuration.

edit flag offensive delete link more

answered 2014-04-20 11:42:40 -0500

onahum204 gravatar image

updated 2014-04-20 11:49:56 -0500

What is the error you are getting ? I'm getting this error:

root@ubuntu:~/images# glance image-create --name "cirros-0.3.2-x86_64" --disk-format qcow2 --container-format bare --is-public True --progress < cirros-0.3.2-x86_64-disk.img [=============================>] 100% Request returned failure status. HTTPInternalServerError (HTTP 500) root@ubuntu:~/images#

I tried the fix you suggested, same result.

edit flag offensive delete link more


any solution to upload image using glance with HTTPInternalServerError (HTTP 500).?

SGPJ gravatar imageSGPJ ( 2014-04-21 07:42:39 -0500 )edit
SGPJ gravatar imageSGPJ ( 2014-04-25 11:07:08 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-04-15 08:58:49 -0500

Seen: 907 times

Last updated: Apr 25 '14