vm_state and power_state are inconsistent after creating a VM which is not power-on.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
vm_state and power_state are inconsistent after creating a VM which is not power-on, until periodic task _sync_power_
It's need to set the vm_state to the state decided by the power_state(such as STOPPED) instead of ACTIVE, after it is created.
[master] nova/compute/
def _update_
Changed in nova: | |
assignee: | nobody → javeme (javaloveme) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: compute |
Changed in nova: | |
status: | Incomplete → New |
status: | New → Opinion |
status: | Opinion → Incomplete |
Fix proposed to branch: master /review. openstack. org/181661
Review: https:/