The following command creates an empty image in queued state: $ glance image-create --name cirros-0.3.1-x86_64-rootfs --public --container-format=bare --disk-format raw < <(zcat /opt/devstack/files/cirros-0.3.1-x86_64-rootfs.img.gz) +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | None | | container_format | bare | | created_at | 2013-05-27T10:38:57 | | deleted | False | | deleted_at | None | | disk_format | raw | | id | 98bdf205-3f95-4826-82bf-438729e209d9 | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.1-x86_64-rootfs | | owner | 08ca2c466e3d41c5ab9c2e0c9a2f3b82 | | protected | False | | size | 0 | | status | queued | | updated_at | 2013-05-27T10:38:57 | +------------------+--------------------------------------+
This used to work in Folsom & Grizzly releases. The problem was introduced when fixing bug #1173044 (https://bugs.launchpad.net/python-glanceclient/+bug/1173044).
As a side note, this prevents using devstack with the LXC driver.
The following command creates an empty image in queued state: 0.3.1-x86_ 64-rootfs --public --container- format= bare --disk-format raw < <(zcat /opt/devstack/ files/cirros- 0.3.1-x86_ 64-rootfs. img.gz) ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ 3f95-4826- 82bf-438729e209 d9 | 0.3.1-x86_ 64-rootfs | 5ab9c2e0c9a2f3b 82 | ------- -----+- ------- ------- ------- ------- ------- --+
$ glance image-create --name cirros-
+------
| Property | Value |
+------
| checksum | None |
| container_format | bare |
| created_at | 2013-05-27T10:38:57 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 98bdf205-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-
| owner | 08ca2c466e3d41c
| protected | False |
| size | 0 |
| status | queued |
| updated_at | 2013-05-27T10:38:57 |
+------
This used to work in Folsom & Grizzly releases. The problem was introduced when fixing bug #1173044 (https:/ /bugs.launchpad .net/python- glanceclient/ +bug/1173044).
As a side note, this prevents using devstack with the LXC driver.