← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1063885] Re: AttributeError in vmwareapi

 

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

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

Title:
  AttributeError in vmwareapi

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  We tried to installed the Folsom release (python-
  nova_2012.2-0ubuntu3~cloud0) and use an ESX Host as compute node.

  Creating a new instance with:

  nova boot --flavor 2 --image 6e4deabd-ccd6-412e-9bed-e3293f45a2db
  test1

  We get the following error in nova-compute.log which can be fixed by
  the attached patch.

  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d] Traceback (most recent call last):
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.p
  y", line 743, in _spawn
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]     block_device_info)
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/dr
  iver.py", line 132, in spawn
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]     self._vmops.spawn(context, instance, image_meta, network_in
  fo)
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]   File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vm
  ops.py", line 101, in spawn
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d]     vm_ref = self._get_vm_ref_from_the_name(instance.name)
  2012-10-08 13:01:45 TRACE nova.compute.manager [instance: 26679293-544b-4242-8af3-110fe2ec792d] AttributeError: 'dict' object has no attribute 'name'

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