the key of aggregate's metadata accepts empty string as key
Bug #1262943 reported by
Lee Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Use command: nova aggregate-
it returns:
+----+-
| Id | Name | Availability Zone | Hosts | Metadata |
+----+-
| 1 | llg_aggregate | None | [] | {u'': u'test_key_empty'} |
+----+-
The empty key value is not meaningful, so we should add a limit to this.
Changed in nova: | |
assignee: | nobody → Lee Li (lilinguo) |
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → Low |
summary: |
- the key of aggregate's metadata accepts empty string + the key of aggregate's metadata accepts empty string as key |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
status: | In Progress → Confirmed |
status: | Confirmed → Fix Committed |
Changed in nova: | |
assignee: | Lee Li (lilinguo) → nobody |
Changed in nova: | |
milestone: | none → icehouse-2 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-2 → 2014.1 |
To post a comment you must log in.
Do we reject empty strings for other API calls as well? If not then we shouldn't reject it here. This is part of the bigger API parameter validation story.