← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155813] Re: Deleting an instance when the nova-compute node is offline results in the VM still hanging on the host after restarting the nova-compute service

 

Solved by setting:

running_deleted_instance_action=reap

Note: the default interval for the following option is 1800 seconds. Why
not a shorter interval like e.g.:

running_deleted_instance_poll_interval=30


** Changed in: nova
       Status: New => 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/1155813

Title:
  Deleting an instance when the nova-compute node is offline results in
  the VM still hanging on the host after restarting the nova-compute
  service

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Steps to reproduce the issue:

  nova boot ... vm1

  Stop nova-compute on the node on which vm1 is running

  Wait for the nova-compute service to be marked as "XXX" in "nova-
  manage service list"

  nova delete vm1

  Verify that the VM is not shown in "nova list"

  Start the nova-compute service previously stopped.

  Result:

  The VM is still running on the host although marked as deleted in
  OpenStack.

  No errors are reported.

  Notes:

  Tests have been performed using the Hyper-V driver, but the issue
  seems to be unrelated to the driver.

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