Missing container format error not properly reported by image-create command
Bug #1029272 reported by
Mark McLoughlin
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Invalid
|
Medium
|
Unassigned |
Bug Description
I tried:
$> glance image-create --name f17netinst --disk-format iso < ../Fedora-
and simply got:
Bad request (HTTP 400)
Looking at the response on the wire, the error is more obvious:
Failed to update image metadata. Got error: Invalid container format 'None' for image.
Changed in python-glanceclient: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in python-glanceclient: | |
assignee: | nobody → yatin (yatinkarel) |
Changed in python-glanceclient: | |
assignee: | yatin (yatinkarel) → nobody |
To post a comment you must log in.
right now the glance image-create does not give a bad request when disk_format or container_format is not specified, but the curl request gives a bad request if they are not specified.
In both cases the image is created.