vm_state and task_state changes contained no DB migration
Bug #1018566 reported by
Chris Behrens
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
As an example, the old state of vm_state of "rebuilding" is now a vm_state of "active" and a task_state of "rebuilding".
There's no DB migration to update the columns based on the change in Change ID: I3c5a97508a6dad
Changed in nova: | |
status: | New → Triaged |
To post a comment you must log in.
Good catch. I think the translations from old to new (vm_state, task_state) are:
("active", "resize_verify") -> ("resized", None)
("shutoff", None) -> ("stopped", None)
("rebuilding", None) -> ("active", "rebuilding") confirming" ) -> ("resized", "resize_ confirming" )
("migrating", None) -> ("active", "migrating")
("resizing", "resize_prep") -> ("active", "resize_prep")
("resizing", "resize_migrating") -> ("active", "resize_migrating")
("resizing", "resize_migrated") -> ("active", "resize_migrated")
("resizing", "resize_finish") -> ("active", "resize_finish")
("resizing", "resize_reverting") -> ("resized", "resize_reverting")
("resizing", "resize_