← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1229994] Re: VMwareVCDriver: snapshot failure when host in maintenance mode

 

** Also affects: nova/havana
   Importance: Undecided
       Status: New

** Changed in: nova/havana
       Status: New => In Progress

** Changed in: nova/havana
   Importance: Undecided => High

** Changed in: nova/havana
     Assignee: (unassigned) => Yaguang Tang (heut2008)

** Changed in: nova/havana
    Milestone: None => 2013.2.1

** Tags removed: havana-backport-potential

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

Title:
  VMwareVCDriver: snapshot failure when host in maintenance mode

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  In Progress
Status in The OpenStack VMwareAPI subTeam:
  In Progress

Bug description:
  Image snapshot through the VC cluster driver may fail if, within the
  datacenter containing the cluster managed by the driver, there are one
  or more hosts in maintenance mode with access to the datastore
  containing the disk image snapshot.

  A sign that this situation has occurred is the appearance in the nova
  compute log of an error similar to the following:

  2013-08-02 07:10:30.036 WARNING nova.virt.vmwareapi.driver [-] Task [DeleteVirtualDisk_Task] (returnval){
  value = "task-228"
  _type = "Task"
  } status: error The operation is not allowed in the current state.

  What this means is that even if all hosts in cluster are running fine in normal mode, a host outside of the cluster going into maintenance mode may
  lead to snapshot failure.

  The root cause of the problem is due to an issue in VC's handler of
  the VirtualDiskManager.DeleteVirtualDisk_Task API, which may
  incorrectly pick a host in maintenance mode to service the disk
  deletion even though such an operation will be rejected by the host
  under maintenance.

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