Folsom - Able to create flavor with invalid "is-public" parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Russell Cloran | ||
python-novaclient |
Fix Released
|
Undecided
|
Russell Cloran |
Bug Description
Description:
-------------------
We are able to create a flavor even if the "is-public" parameter is given invalid. It accepts value as False if junk value is given for "is-public" parameter.
Environment:
-----------------
Folsom
Actual Result:
-------------------
Accepted as option "False" when invalid characters are given.
Expected Result:
-------
Should give an error message stating that the "is-public" parameter can be either "True" or "False"
CURL COMMANDS:
-------
rajalakshmi_
HTTP/1.1 200 OK
X-Compute-
Content-Type: application/json
Content-Length: 452
Date: Mon, 01 Oct 2012 07:21:56 GMT
{"flavor": {"name": "invalid_
PYTHON NOVA-CLIENT COMMAND:
-------
rajalakshmi_
+------
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+------
| 335533 | test-1 | 512 | 2 | 0 | | 4 | 1 | False | {} |
+------
rajalakshmi_
Changed in python-novaclient: | |
assignee: | nobody → Russell Cloran (russell) |
Changed in nova: | |
assignee: | nobody → Russell Cloran (russell) |
Changed in nova: | |
status: | New → In Progress |
Changed in python-novaclient: | |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/15055
Review: https:/