← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1266579] Re: VMware: Unable to launch instance because vmware_base already exists

 

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

Title:
  VMware: Unable to launch instance because vmware_base already exists

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When running the Tempest tests in parallel, 2 tests are failing due to
  instances spawning with ERROR:

    setUpClass (tempest.api.compute.admin.test_fixed_ips.FixedIPsTestXml)
    setUpClass (tempest.api.compute.admin.test_fixed_ips_negative.FixedIPsNegativeTestJson)

  The VimFaultException seen in the nova scheduler log is:

    Cannot complete the operation because the file or folder
  [datastore1] vmware_base already exists

  Full Traceback here (non-wrapped version here:
  http://paste.openstack.org/show/60502/):

  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 437, in spawn
      upload_folder, upload_name + ".vmdk")):
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1549, in _check_if_folder_file_exists
      ds_ref)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1534, in _mkdir
      createParentDirectories=False)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 795, in _call_method
      return temp_module(*args, **kwargs)
    File "/opt/stack/nova/nova/virt/vmwareapi/vim.py", line 200, in vim_request_handler
      raise error_util.VimFaultException(fault_list, excep)
  VimFaultException: Server raised fault: 'Cannot complete the operation because the file or folder [datastore1] vmware_base already exists'

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


References