Duplication between container_format and disk_format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Eoghan Glynn |
Bug Description
glance add -H $GLANCE_HOST -A $GLANCE_TOKEN name=oneiric-
Failed to reserve image. Got error: Data supplied was not valid. Details: 400 Bad Request The server could not comply with the request since it is either malformed or otherwise incorrect. Failed to add image metadata. Got error: Data supplied was not valid. Details: Invalid mix of disk and container formats. When setting a disk or container format to one of 'ami', 'ari', or 'ami', the container and disk formats must match.
... Better, if the container_format is ami, the disk_format should be non-required.
Glance as of git head 2012-03.
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-1 → 2012.2 |
Seems the defaulting should be symmetric, i.e. either disk_format follows container_format or vice versa, if one is unset and the other is aki, ari or ami.