VM state of guest remains "running" when host shutdown

Bug #885634 reported by Gary Kotton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Low
Unassigned

Bug Description

When I host is shutdown the state of the guest running on the host is "running".

1. When everything is up and running

localadmin@nova-host:~/nova$ euca-describe-instances
RESERVATION r-9nwcpyy9 proj default
INSTANCE i-0000002b ami-00000002 192.168.0.3
192.168.0.3 running demo (proj, nova-manage) 0
m1.small 2011-10-31T08:08:11Z nova ami-00000000
ami-00000000
RESERVATION r-zkba9ygt proj default
INSTANCE i-0000002a ami-00000002 192.168.0.4
192.168.0.4 running demo (proj, nova-host) 0
m1.small 2011-10-31T08:08:09Z nova ami-00000000
ami-00000000
localadmin@nova-host:~/nova$

2. Shutdown nova-host (you can see that the host is down but the
instance is still up and "running") localadmin@nova-manage:~
localadmin@nova-manage:~$ euca-describe-availability-zones verbose
AVAILABILITYZONE nova available
AVAILABILITYZONE |- nova-manage
AVAILABILITYZONE | |- nova-scheduler enabled :-) 11-10-31 15:17:39
AVAILABILITYZONE | |- nova-volume enabled :-) 11-10-31 15:17:45
AVAILABILITYZONE | |- nova-network enabled :-) 11-10-31 15:17:46
AVAILABILITYZONE | |- nova-compute enabled :-) 11-10-31 15:17:45
AVAILABILITYZONE |- nova-host
AVAILABILITYZONE | |- nova-compute enabled XXX 2011-10-31 15:16:26
localadmin@nova-manage:~$
localadmin@nova-manage:~$
localadmin@nova-manage:~$ euca-describe-instances
RESERVATION r-9nwcpyy9 proj default
INSTANCE i-0000002b ami-00000002 192.168.0.3
192.168.0.3 running demo (proj, nova-manage) 0
m1.small 2011-10-31T08:08:11Z nova ami-00000000
ami-00000000
RESERVATION r-zkba9ygt proj default
INSTANCE i-0000002a ami-00000002 192.168.0.4
192.168.0.4 running demo (proj, nova-host) 0
1.small
2011-10-31T08:08:09Z nova ami-00000000 ami-00000000
localadmin@nova-manage:~$

Brian Waldon (bcwaldon)
summary: - VM state of guest invalid when host shutdown
+ VM state of guest remains "running" when host shutdown
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
sasikiran (vaddi-kiran) wrote :

Hi,

In Essex, I am unable to find nova-host service.

Can you please guide me for nova-host installation?

Revision history for this message
Russell Bryant (russellb) wrote :

I think this is pretty much just expected behavior. As far as nova is concerned, the instance is still at least supposed to be running. It may just be that the compute node has lost contact with the API temporarily but the VM is still running. Some additional action is required to tell nova otherwise.

Changed in nova:
status: Confirmed → 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.