libvirt-xen: Instance status in nova may be different than real status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Anthony PERARD | ||
Juno |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Tempest test ServerActionsTe
Traceback (most recent call last):
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
ready_
File "/opt/stack/
raise exceptions.
tempest.
Details: (ServerActionsT
From nova log, I could see "VM Started (Lifecycle Event)" being reported while the instance is shutdown and being resized.
After tracking done this bug, the issue may comes from the Change-Id I690d3d700ab4d0
A way to reproduce would be to run this script on a Xen machine using a small Cirros instance:
nova boot --image 'cirros-
nova stop instance
# wait sometime (around 20s) so we start with SHUTDOWN state
nova start instance
nova stop instance
nova resize instance 84
nova resize-confirm instance
# check new state, should be shutoff.
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → kilo-rc1 |
tags: | removed: kilo-rc-potential |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-rc1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/166184
Review: https:/