image-create command fails when reading from stdin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Hugh Saunders |
Bug Description
The following command creates an empty image in queued state:
$ 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 |
+------
The same problem exists using standard pipes:
zcat /opt/devstack/
+------
| Property | Value |
+------
| checksum | None |
| container_format | bare |
| created_at | 2013-05-27T11:48:07 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | 3436ac82-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-
| owner | 7087a00934c745e
| 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:/
As a side note, this prevents using devstack with the LXC driver.
summary: |
- image-create command fails when using Bash process substitution + image-create command fails when reading from stdin |
description: | updated |
Changed in python-glanceclient: | |
status: | Confirmed → In Progress |
Changed in python-glanceclient: | |
assignee: | nobody → Hugh Saunders (hughsaunders) |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
I can reproduce this, and will investigate.