← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1099761] Re: Nova takes a long time to notice if a VM is shutdown by guest admin

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
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/1099761

Title:
  Nova takes a long time to notice if a VM is shutdown by guest admin

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  In a running guest, if the guest admin does 'shutdown -h now', the VM
  will completely shutdown. It will take Nova up to 10 minutes to notice
  this and update its state, during which time it continues to report
  the VM as running. The only way to deal with this is to also run 'nova
  delete' on the host.

  The core problem is that the nova.compute.manager._sync_states()
  method which is used to reconcille state. This is set as a periodic
  task, but is only set to run once every 10 minutes. We need to react
  to terminating instances much faster than this.

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