Creating an image without container format queues image and fails with 400
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Mike Fedosin |
Bug Description
Description of problem:
Creating an image from CLI without --container format queued the image and fails with 400.
Request returned failure status.
400 Bad Request
Invalid container format 'None' for image.
(HTTP 400)
How reproducible:
# glance --debug image-create --name cirros --disk-format qcow2 --file /tmp/cirros-
<snip>
[======
HTTP/1.1 400 Bad Request
date: Tue, 07 Jan 2014 14:13:54 GMT
content-length: 64
content-type: text/plain; charset=UTF-8
x-openstack-
400 Bad Request
Invalid container format 'None' for image.
# glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| b2490dd2-
+------
Changed in glance: | |
assignee: | nobody → Jon Bernard (jbernard) |
Changed in glance: | |
assignee: | nobody → Pranali Deore (pranali-deore) |
Changed in glance: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in glance: | |
status: | Confirmed → Invalid |
assignee: | Pranali Deore (pranali-deore) → nobody |
Changed in glance: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
status: | Invalid → Confirmed |
Changed in glance: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-1 → 11.0.0 |
Fix proposed to branch: master /review. openstack. org/66386
Review: https:/