response to vm spawn may contain invalid values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When spawning a VM via nova API, the response contains a description of the server with the information available at API level.
However the API makes assumptions for some of the fields which may turn out to be incorrect.
For example:
- availability zone: the default one is returned by the API, however logic in the scheduler may cause the non-default AZ to be used
- security group: when spawning a VM using the --nic port=<uuid> flag in a neutron deployment, the server response shows the security group "default" in none was specified at creation time. However the correct SGs are those (if any) attached to the port rather than default
The response from the API shall only contain information which the API can control.
tags: | added: api |
Changed in nova: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in nova: | |
importance: | Critical → Medium |
Changed in nova: | |
assignee: | nobody → Subashini Soundararajan (subashini-rajan17) |
Changed in nova: | |
assignee: | Subashini Soundararajan (subashini-rajan17) → nobody |
For the availability zone issue, this was just merged, does it resolve that problem?
https:/ /review. openstack. org/#/c/ 28645/