** 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/1514910

Title:
  VMware: Unable to detach volume after detach failure

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  If volume detach fails after reconfiguring the VM to remove volume
  vmdk then it will not be possible to detach the volume again.
  Subsequent detach will fail with StorageError.

  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
six.reraise(self.type_, self.value, self.tb)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 366, in decorated_function
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     return 
function(self, context, *args, **kwargs)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 4760, in detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
self._detach_volume(context, volume_id, instance)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 4743, in _detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
self._driver_detach_volume(context, instance, bdm)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 4698, in _driver_detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
self.volume_api.roll_detaching(context, volume_id)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 197, in 
__exit__
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
six.reraise(self.type_, self.value, self.tb)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 4686, in _driver_detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
encryption=encryption)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 400, in detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     return 
self._volumeops.detach_volume(connection_info, instance)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 581, in detach_volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     
self._detach_volume_vmdk(connection_info, instance)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 526, in 
_detach_volume_vmdk
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     device = 
self._get_vmdk_backed_disk_device(vm_ref, data)
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 514, in 
_get_vmdk_backed_disk_device
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher     raise 
exception.StorageError(reason=_("Unable to find volume"))
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher StorageError: 
Storage error: Unable to find volume
  2015-11-10 14:34:52.989 TRACE oslo_messaging.rpc.dispatcher

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to