yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00893
[Bug 1109191] Re: glance fails to image-create with disk and container formats.
Use --disk-format and --container-foramt
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1109191
Title:
glance fails to image-create with disk and container formats.
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
glance fails to image-create with disk and container formats.
This I tested on a Ubuntu 12.10 controller with horizon dashboard. Since it does not have an add image on the dashbaord had to use the command line . On the command line when you issue
$ glance image-create --name ubuntu1204 --disk_format=qcow2 --container_format=bare < /path/to/images/file.img
it fails to add however if I give simple $ glance image-create --name --file /path/to/file.img it adds the image to database with error
Request returned failure status.
None
HTTPBadRequest (HTTP 400)
But then when you heck on the Horizon GUI it shows uo the name.
Then I have to go into mysql and update the disk_format and
container_format on images table under glace database before I can go
and update other properties from horizon GUI.
That shows that Glance command line is not able to support either
through command line or GUI to specify disk_format as well
container_format.
If you simple raw and bare as the manula says it will automatically
figure our formats etc. is again incorrect.
Thus even for a simple file from local storage it fails which must be
on high priority for some one to test any image.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1109191/+subscriptions