← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1266580] [NEW] VMware: Unable to delete image cache vmdk while launching instance

 

Public bug reported:

When running the Tempest tests in parallel, the following test is
failing due to an instance spawning with ERROR:

  setUpClass (tempest.api.compute.admin.test_fixed_ips.FixedIPsTestJson)

The VimFaultException seen in the nova scheduler log is:

  Cannot delete file [datastore1] vmware_base/4f1cd69c-45c0-42d3-8ff1
-33ff389fe5cc-flat.vmdk

Full traceback (non-wrapped here:
http://paste.openstack.org/show/60501/):

Traceback (most recent call last):
  File "/opt/stack/nova/nova/compute/manager.py", line 1053, in _build_instance
    set_access_ip=set_access_ip)
  File "/opt/stack/nova/nova/compute/manager.py", line 356, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 1456, in _spawn
    LOG.exception(_('Instance failed to spawn'), instance=instance)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 1453, in _spawn
    block_device_info)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 587, in spawn
    admin_password, network_info, block_device_info)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 458, in spawn
    dc_info.ref)
  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 171, in _delete_datastore_file
    file_delete_task)
  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 856, in _wait_for_task
    ret_val = done.wait()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
    return hubs.get_hub().switch()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
    return self.greenlet.switch()
NovaException: Cannot delete file [datastore1] vmware_base/4f1cd69c-45c0-42d3-8ff1-33ff389fe5cc-flat.vmdk

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: drivers 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/1266580

Title:
  VMware: Unable to delete image cache vmdk while launching instance

Status in OpenStack Compute (Nova):
  New

Bug description:
  When running the Tempest tests in parallel, the following test is
  failing due to an instance spawning with ERROR:

    setUpClass
  (tempest.api.compute.admin.test_fixed_ips.FixedIPsTestJson)

  The VimFaultException seen in the nova scheduler log is:

    Cannot delete file [datastore1] vmware_base/4f1cd69c-45c0-42d3-8ff1
  -33ff389fe5cc-flat.vmdk

  Full traceback (non-wrapped here:
  http://paste.openstack.org/show/60501/):

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/compute/manager.py", line 1053, in _build_instance
      set_access_ip=set_access_ip)
    File "/opt/stack/nova/nova/compute/manager.py", line 356, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 1456, in _spawn
      LOG.exception(_('Instance failed to spawn'), instance=instance)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 1453, in _spawn
      block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 587, in spawn
      admin_password, network_info, block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 458, in spawn
      dc_info.ref)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 171, in _delete_datastore_file
      file_delete_task)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 856, in _wait_for_task
      ret_val = done.wait()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
      return hubs.get_hub().switch()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
      return self.greenlet.switch()
  NovaException: Cannot delete file [datastore1] vmware_base/4f1cd69c-45c0-42d3-8ff1-33ff389fe5cc-flat.vmdk

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


Follow ups

References