Volume type or nova flavor extra_spec containing '/' can't be deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Alejandro Emanuel Paredes |
Bug Description
Written based on Nova bug 1256119.
It is possible to set an extra spec for a volume type containing a '/' that then cannot be deleted.
$ cinder type-create test
+------
| ID | Name |
+------
| ff8b49fb-
+------
$ cinder type-key test set 'a/b=c'
$ cinder extra-specs-list
+------
| ID | Name | extra_specs |
+------
| ff8b49fb-
+------
$ cinder --debug type-key test unset 'a/b'
...snip...
REQ: curl -i http://
DEBUG:cindercli
REQ: curl -i http://
RESP: [404] CaseInsensitive
RESP BODY: 404 Not Found
The resource could not be found.
DEBUG:cindercli
RESP BODY: 404 Not Found
The resource could not be found.
ERROR: Not found (HTTP 404)
Changed in cinder: | |
assignee: | nobody → Shree Duth Awasthi (shreeduth-awasthi) |
Changed in cinder: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → icehouse-2 |
summary: |
- Volume type extra_spec containing '/' can't be deleted + Volume type or image flavor extra_spec containing '/' can't be deleted |
summary: |
- Volume type or image flavor extra_spec containing '/' can't be deleted + Volume type or nova flavor extra_spec containing '/' can't be deleted |
Changed in cinder: | |
assignee: | Shree Duth Awasthi (shreeduth-awasthi) → nobody |
Changed in cinder: | |
assignee: | nobody → Alejandro Emanuel Paredes (alejandro-e-paredes) |
Changed in cinder: | |
milestone: | icehouse-2 → icehouse-3 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | icehouse-3 → 2014.1 |
Shall we go the other way round by not allowing the "/" to be included in volume type extra_spec ?
Though I believe that Matt Riedemann suggestion is good enough for nova.
Please correct, if my understanding is incorrect.