Volume is getting created even with size value zero
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Mike Perez | ||
OpenStack Compute (nova) |
Fix Released
|
Low
|
Mike Perez |
Bug Description
Volume creation should not happen when size parameter value is zero. But the volume is reaching available status even when size is zero.
Expected Result:
Should throw bad request error i.e code 400 should be returned
Actual Result:
The procees is successful and code of 200 is returned.
LOG:
------
REQ: curl -i http://
REQ BODY: {"volume": {"size": "0", "display_name": "auto_hpcs_vol", "display_
RESP:{'date': 'Thu, 31 May 2012 18:15:43 GMT', 'status': '200', 'x-compute-
--- START OF RESPONSE ---
{ u'volume': { u'attachments': [{ }],
--- ENF OF RESPONSE ---
affects: | tempest → nova |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → Low |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
assignee: | nobody → Mike Perez (thingee) |
Changed in cinder: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | nobody → Mike Perez (thingee) |
status: | Confirmed → In Progress |
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Shouldn't this be in the Nova queue?