← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: vmware

** Tags added: vmware

-- 
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):
  New

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


Follow ups

References