Inconsistent naming for image reference in create volume API
Bug #1375867 reported by
Shaunak Kashyap
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Wishlist
|
Pascal Wehrle |
Bug Description
The request for the Create Volume API can take a property named "imageRef" that specifies the ID of the image to be used when creating the volume. The name of this property ("imageRef") is inconsistent in two ways:
1. All the other multi-word request properties to this API use snake case (e.g. "volume_type", "snapshot_id", "source_volid", "availability_
2. The corresponding property in the same API's response is named "image_id".
This affects v1 and v2 of the Cinder API.
description: | updated |
description: | updated |
tags: | added: api |
Changed in cinder: | |
importance: | Undecided → Wishlist |
tags: | added: low-hanging-fruit |
Changed in cinder: | |
assignee: | nobody → Mike Mason (mikemason010) |
Changed in cinder: | |
assignee: | Mike Mason (mikemason010) → nobody |
Changed in cinder: | |
assignee: | nobody → Carol Bouchard (caboucha) |
Changed in cinder: | |
assignee: | Carol Bouchard (caboucha) → nobody |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
status: | In Progress → Confirmed |
Changed in cinder: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
At this point it's too late to change it. Not sure how others feel with adding image_id as an alternative key for this now to v2.