AZ should be validated durign instance create at the api layer
Bug #1185367 reported by
Phil Day
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Lei Duan |
Bug Description
Currently the compute API layer does not do any validation of the availability zone, so a request like:
nova boot --availability_zone foobar
will be accepted, sent to the scheduler, and the instance will go to error.
There is already code in compute/api.py which processes the availability_zone value
def _handle_
...
So it seems like there should be some basic validation added to check that the zone exists and is available
tags: | added: api |
Changed in nova: | |
assignee: | Yang Yu (yuyangbj) → Lei Duan (duan101101) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
information type: | Public → Public Security |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
I found if the host is not in the zone, it is still accepted and boot VM.