yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10742
[Bug 1256119] Re: Flavor ExtraSpecs containing '/' cannot be deleted.
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1256119
Title:
Flavor ExtraSpecs containing '/' cannot be deleted.
Status in OpenStack Dashboard (Horizon):
Fix Committed
Status in OpenStack Compute (Nova):
Fix Released
Status in Python client library for Nova:
Fix Released
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 /64801605b4b6408da8fa1dde686cf02f/flavors/2/os-extra_specs/<key>1</key> from (pid=7915) __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:97
2013-11-28 16:14:59.302 INFO nova.osapi_compute.wsgi.server [req-79ec0b8b-8f8f-48df-8f87-798489e29b03 admin admin] 10.0.2.15 "DELETE /v2/64801605b4b6408da8fa1dde686cf02f/flavors/2/os-extra_specs/%3Ckey%3E1%3C/key%3E HTTP/1.1" status: 404 len: 176 time: 0.0031309
How to reproduce: http://paste.openstack.org/show/54141/
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?
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1256119/+subscriptions