Activity log for bug #1184566

Date Who What changed Old value New value Message
2013-05-27 10:41:03 Simon Pasquier bug added bug
2013-05-27 11:46:08 Simon Pasquier summary image-create command fails when using Bash process substitution image-create command fails when reading from stdin
2013-05-27 11:49:15 Simon Pasquier description 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: $ 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 | +------------------+--------------------------------------+ The same problem exists using standard pipes: zcat /opt/devstack/files/cirros-0.3.1-x86_64-rootfs.img.gz | glance image-create --name cirros-0.3.1-x86_64-rootfs --public --container-format=bare --disk-format raw +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | None | | container_format | bare | | created_at | 2013-05-27T11:48:07 | | deleted | False | | deleted_at | None | | disk_format | raw | | id | 3436ac82-3158-47dc-a304-b75c6e10c547 | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | cirros-0.3.1-x86_64-rootfs | | owner | 7087a00934c745e58c2e26460451ecf5 | | protected | False | | size | 0 | | status | queued | | updated_at | 2013-05-27T11:48:07 | +------------------+--------------------------------------+ 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.
2013-06-03 12:48:35 Hugh Saunders python-glanceclient: assignee Hugh Saunders (hughsaunders)
2013-06-03 12:48:43 Hugh Saunders python-glanceclient: status New Confirmed
2013-06-03 14:05:36 Hugh Saunders python-glanceclient: status Confirmed In Progress
2013-06-03 17:11:00 Hugh Saunders python-glanceclient: status In Progress Confirmed
2013-06-03 17:11:04 Hugh Saunders python-glanceclient: assignee Hugh Saunders (hughsaunders)
2013-06-12 09:16:59 Hugh Saunders python-glanceclient: assignee Hugh Saunders (hughsaunders)
2013-06-18 12:47:35 OpenStack Infra python-glanceclient: status Confirmed Fix Committed
2014-09-21 18:32:59 Louis Taylor python-glanceclient: status Fix Committed Fix Released