Nova API crashes for some special characters used in flavor ID
Bug #1202136 reported by
Aswad Rangnekar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Rohan |
Bug Description
Tested on: master with commit ID ddc20d70b38d18a
If we create a flavor with ID as a special character with ascii character code >127,
an the entry is created in the database and it causes a 500 Internal Server Error while retrieving the flavors list,
Stack trace: http://
The issue here is that such characters as well as special symbols should not be allowed.
Flavor ID should be restricted to Integer values or UUID only, as enforced by python-novaclient.
Changed in nova: | |
assignee: | nobody → Aswad Rangnekar (aswad-r) |
description: | updated |
description: | updated |
tags: | added: doc-impact |
summary: |
- Unicode or ASCII symbols should not be allowed in flavor id + Nova API crashes for some special characters used in flavor ID |
description: | updated |
tags: | added: api |
Changed in nova: | |
assignee: | Aswad Rangnekar (aswad-r) → Rohan (kanaderohan) |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Hi Aswad,
I tried reproducing this bug, but I got "400 malformed" in the response instead.
Please see the paste below,
http:// paste.openstack .org/show/ 42580/
Nova API did not crash.
Could you test this again with the latest master and see if the bug still exists?