Create server API accepts invalid device name in bdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unmesh Gurjar |
Bug Description
Branch: master
Steps to repro:
1. Boot a new instance from volume, specifying an incorrect device name.For example, following JSON request body containing a space in the device name:
{"server": {"name": "ins001", "imageRef": "f29a46e1-
2. Monitor the newly spawned instance status.
Expected Behavior:
Nova API should return a 400 Bad Request response (since device name is invalid i.e. in this case contains a space).
Actual Behavior:
Nova API returns a 202 Accepted and the instance creation fails.
Changed in nova: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
Changed in nova: | |
milestone: | none → grizzly-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-3 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/17592
Review: https:/