← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262642] [NEW] VMware VC driver fails to spawn instance on vCenter 5.5

 

Public bug reported:

Creating instance using vCenter 5.5 fails with the following exception. The same works when vCenter 5.1 is used
vmware driver used is Havana GA code with some backports of fixes in Icehouse

2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 500, in spawn
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     _create_virtual_disk(upload_folder, vmdk_path)
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 357, in _create_virtual_disk
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     self._session._wait_for_task(instance['uuid'], vmdk_create_task)
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 897, in _wait_for_task
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     ret_val = done.wait()
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     return hubs.get_hub().switch()
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     return self.greenlet.switch()
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18] AttributeError: 'NoneType' object has no attribute 'name'
2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]


2013-12-19 12:19:22.873 31835 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'NoneType' object has no attribute 'name'
2013-12-19 12:19:22.874 31835 ERROR nova.openstack.common.loopingcall [-] in fixed duration looping call
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall Traceback (most recent call last):
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/nova/openstack/common/loopingcall.py", line 78, in _inner
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     self.f(*self.args, **self.kw)
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 926, in _poll_task
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     done.send_exception(excep)
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 208, in send_exception
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     return self.send(None, args)
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 150, in send
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.'
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall AssertionError: Trying to re-send() an already-triggered event.
2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall

** Affects: nova
     Importance: Undecided
         Status: New


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

Title:
  VMware VC driver fails to spawn instance on vCenter 5.5

Status in OpenStack Compute (Nova):
  New

Bug description:
  Creating instance using vCenter 5.5 fails with the following exception. The same works when vCenter 5.1 is used
  vmware driver used is Havana GA code with some backports of fixes in Icehouse

  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 500, in spawn
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     _create_virtual_disk(upload_folder, vmdk_path)
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 357, in _create_virtual_disk
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     self._session._wait_for_task(instance['uuid'], vmdk_create_task)
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 897, in _wait_for_task
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     ret_val = done.wait()
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     return hubs.get_hub().switch()
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]   File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]     return self.greenlet.switch()
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18] AttributeError: 'NoneType' object has no attribute 'name'
  2013-12-19 12:19:22.782 31835 TRACE nova.compute.manager [instance: 6932fe94-7300-4e3d-a9e7-c704462def18]

  
  2013-12-19 12:19:22.873 31835 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error 'NoneType' object has no attribute 'name'
  2013-12-19 12:19:22.874 31835 ERROR nova.openstack.common.loopingcall [-] in fixed duration looping call
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall Traceback (most recent call last):
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/nova/openstack/common/loopingcall.py", line 78, in _inner
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     self.f(*self.args, **self.kw)
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 926, in _poll_task
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     done.send_exception(excep)
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 208, in send_exception
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     return self.send(None, args)
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall   File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 150, in send
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall     assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.'
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall AssertionError: Trying to re-send() an already-triggered event.
  2013-12-19 12:19:22.874 31835 TRACE nova.openstack.common.loopingcall

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


Follow ups

References