← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377781] Re: VMWare: should use ShutDownGuest to do grace OS shutdown and then force power off if timeout passed

 

Reviewed:  https://review.openstack.org/494169
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=24aaf8752db25e1e71f4a14502f0ea3b1ab1b7de
Submitter: Zuul
Branch:    master

commit 24aaf8752db25e1e71f4a14502f0ea3b1ab1b7de
Author: Thomas Kaergel <kaergel@xxxxxxxxxxxxx>
Date:   Fri Mar 4 10:25:45 2016 +0100

    VMware: add support for graceful shutdown of instances
    
    Change-Id: I40643e9d358be89c87a0311b1c1fd7718ec75361
    Closes-Bug: #1377781
    Co-Authored-By: David Rabel <rabel@xxxxxxxxxxxxx>


** Changed in: nova
       Status: In Progress => 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/1377781

Title:
  VMWare: should use ShutDownGuest to do grace OS shutdown and then
  force power off if timeout passed

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  With currently vmware driver. the power_off will explicitly calls 
  PowerOffVM_Task. 

  In this case, If a virtual machine is writing to disk when it receives
  a Power Off command, data corruption may occur.

  Actually in SDK, there is another method
  ShutdownGuest which will issues a command to the guest operating system asking it to perform a clean shutdown of all services.

  So it is suggest to use ShutdownGuest  first and wait for some
  interval, if the power state is still up, make a force shutdown.

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


References