qos_specs create api allows whitespaces as name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Pranali Deore |
Bug Description
Steps to reproduce:
$ cinder qos-create " " testing=testing
Output:
+------
| Property | Value |
+------
| consumer | back-end |
| id | 2cff17f4-
| name | |
| specs | {u'testing': u'testing'} |
+------
Only whitespaces shouldn't be allowed in the name of the qos_specs.
Changed in cinder: | |
assignee: | nobody → Pranali Deore (pranali-deore) |
Changed in cinder: | |
assignee: | Pranali Deore (pranali-deore) → Amador Pahim (apahim) |
status: | New → In Progress |
Changed in cinder: | |
status: | In Progress → Confirmed |
status: | Confirmed → In Progress |
Changed in cinder: | |
assignee: | Amador Pahim (apahim) → Pranali Deore (pranali-deore) |
Changed in cinder: | |
assignee: | Pranali Deore (pranali-deore) → Abhijeet Malawade (abhijeet-malawade) |
Changed in cinder: | |
assignee: | Abhijeet Malawade (abhijeet-malawade) → Pranali Deore (pranali-deore) |
Changed in cinder: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-3 → 7.0.0 |
Why shouldn't this be allowed?