Flavor ExtraSpecs containing '/' cannot be deleted.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Leandro Ignacio Costantino | ||
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Leandro Ignacio Costantino | ||
python-novaclient |
Fix Released
|
Low
|
Sergio Cazzolato |
Bug Description
When adding extraspec to a flavor, both from Horizon or nova CLI , if the key contains '/' or any other character not being encoded, then those keys cannot be removed using nova CLI / Horizon.
Example NOVA CLI Request on Delete
2013-11-28 16:14:59.301 DEBUG routes.middleware [-] No route matched for DELETE /64801605b4b640
2013-11-28 16:14:59.302 INFO nova.osapi_
How to reproduce: http://
On Horizon when listing the extraSpecs an error will be thrown on reverse_url if key contains '/'.
Maybe we should setup a Regexp for the key names like heat?
Or restrict the name to [a-zA-Z0-9] and some characters?
Changed in horizon: | |
assignee: | nobody → Leandro Ignacio Costantino (leandro-i-costantino) |
Changed in horizon: | |
status: | New → Confirmed |
tags: | added: api |
Changed in python-novaclient: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in python-novaclient: | |
assignee: | nobody → Sergio Cazzolato (sergio-j-cazzolato) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in python-novaclient: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → icehouse-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
Nova enforces certain flavor id/name here:
https:/ /github. com/openstack/ nova/blob/ master/ nova/compute/ flavors. py#L57
I'm assuming the same could be done for extra specs.