← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 885634] Re: VM state of guest remains "running" when host shutdown

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/885634

Title:
  VM state of guest remains "running" when host shutdown

Status in OpenStack Compute (Nova):
  Invalid

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:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/885634/+subscriptions