vm_state and task_state changes contained no DB migration

Bug #1018566 reported by Chris Behrens
6
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: I3c5a97508a6dad7175fba12828bd3fa6ef1e50ee

(https://review.openstack.org/#/c/8254/)

Chris Behrens (cbehrens)
Changed in nova:
status: New → Triaged
Revision history for this message
Yun Mao (yunmao) wrote :

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")
("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_confirming") -> ("resized", "resize_confirming")

Revision history for this message
Joe Gordon (jogo) wrote :

Is this still valid?

Changed in nova:
status: Triaged → Incomplete
Revision history for this message
Joe Gordon (jogo) wrote :

As per Chris Behrens, marking this as invalid

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.