volume type on create is name in request, and id in resp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
clayg |
Bug Description
request body:
{"status": "creating", "availability_
response:
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| created_at | 2012-10-
| display_description | None |
| display_name | None |
| id | b1f383b0-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| status | available |
| volume_type | 1 |
+------
then on show it's fixed:
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| created_at | 2012-10-
| display_description | None |
| display_name | None |
| id | b1f383b0-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| status | available |
| volume_type | vtype |
+------
since volume_type is a backref on the model, you have to iter when creating the dict
Can we fix in v1.0 or do we have to wait for v1.1 ???
Changed in cinder: | |
milestone: | none → grizzly-1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | grizzly-1 → 2013.1 |
tough call, but I would consider this a bugfix for 1.0