← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244918] Re: VMware ESX: Boot from volume errors out due to relocate

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: next => None

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

Title:
  VMware ESX: Boot from volume errors out due to relocate

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When trying to perform boot instance from volume using the
  VMwareESXDriver, the operation errors out.

  Command:
  $ nova boot --flavor 1  --block-device-mapping vda=222e8ece-8723-4930-803c-8ae5cf233a87:::0 vm1

  Log messages

  d3-59fce43903e8] Root volume attach. Driver type: vmdk attach_root_volume /opt/stack/nova/nova/virt/vmwareapi/volumeops.py:458
  2013-10-26 14:49:13.393 30706 WARNING nova.virt.vmwareapi.driver [-] Task [RelocateVM_Task] (returnval){
     value = "haTask-162-vim.VirtualMachine.relocate-327302855"
     _type = "Task"
   } status: error The operation is not supported on the object.
  2013-10-26 14:49:13.394 30706 ERROR nova.compute.manager [req-e95b7262-a70c-436b-a9d5-0b8045cbf3f5 4471d6567a6b4dd29affbc849f3814d9 256df8ea370d4de2b40edfe9b0ea4063] [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8] Instance failed to spawn
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8] Traceback (most recent call last):
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/compute/manager.py", line 1410, in _spawn
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     block_device_info)
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 178, in spawn
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     admin_password, network_info, block_device_info)
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 538, in spawn
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     data_store_ref)
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 467, in attach_root_volume
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     self._relocate_vmdk_volume(volume_ref, res_pool, datastore)
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/virt/vmwareapi/volumeops.py", line 295, in _relocate_vmdk_volume
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     self._session._wait_for_task(task.value, task)
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 901, in _wait_for_task
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     ret_val = done.wait()
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     return hubs.get_hub().switch()
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]   File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]     return self.greenlet.switch()
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8] NovaException: The operation is not supported on the object.
  2013-10-26 14:49:13.394 30706 TRACE nova.compute.manager [instance: 6b190d4d-231d-43ec-86d3-59fce43903e8]

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