Uncommon states from nova are not handled properly during instance creation
Bug #1140324 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Low
|
Clint Byrum |
Bug Description
Steven Dake brought this bug up here:
https:/
The statuses possible are listed here:
http://
Anything except ACTIVE and BUILD are reported as errors currently. But many are equivalent to BUILD (temporary statuses that can potentially change to ACTIVE later).
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
assignee: | Clint Byrum (clint-fewbar) → Jeremy Stanley (fungi) |
Changed in heat: | |
assignee: | Jeremy Stanley (fungi) → nobody |
Changed in heat: | |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
I'm not sure this is valid - which states exactly do you expect us to encounter other than BUILD, which do not mean we've hit some sort of error?
I supposed we could have a tuple containing every valid state other than BUILD or ACTIVE, and enter the error path if we see any of them, but then we have a problem if any new states are added in nova - it seems to me the only two valid states for our use-case *are* BUILD followed by ACTIVE, anything else is an error, so we are already doing the right thing?