Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

All,

I have found a resolution. It appears glance is not parsing " correctly. Just remove quotation from the image name and it should be good to go.

[Tue Aug 18 12:45:16 root@controller:~ ] # glance image-create --name cirros-0.3.4-x86_64 --file /tmp/images/cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress [=============================>] 100% +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | ee1eca47dc88f4879d8a229cc70a07c6 | | container_format | bare | | created_at | 2015-08-18T16:45:40Z | | disk_format | qcow2 | | id | 7e08d6ef-2f91-4fcc-a367-23b9c3ff8433 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.4-x86_64 | | owner | 1a47d9d15c7640d09901da74700ddbd0 | | protected | False | | size | 13287936 | | status | active | | tags | [] | | updated_at | 2015-08-18T16:45:41Z | | virtual_size | None | | visibility | public | +------------------+--------------------------------------+

All,

I have found a resolution. It appears glance is not parsing " correctly. Just remove quotation from the image name and it should be good to go.

[Tue Aug 18 12:45:16 root@controller:~ ] # glance image-create --name cirros-0.3.4-x86_64 --file /tmp/images/cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility public --progress [=============================>] 100% +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | ee1eca47dc88f4879d8a229cc70a07c6 | | container_format | bare | | created_at | 2015-08-18T16:45:40Z | | disk_format | qcow2 | | id | 7e08d6ef-2f91-4fcc-a367-23b9c3ff8433 | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.4-x86_64 | | owner | 1a47d9d15c7640d09901da74700ddbd0 | | protected | False | | size | 13287936 | | status | active | | tags | [] | | updated_at | 2015-08-18T16:45:41Z | | virtual_size | None | | visibility | public | +------------------+--------------------------------------+ 

+------------------+--------------------------------------+