← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1216510] Re: VMware: exception when accessing invalid nodename

 

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

Title:
  VMware: exception when accessing invalid nodename

Status in OpenStack Compute (Nova):
  Fix Released
Status in The OpenStack VMwareAPI subTeam:
  Fix Committed

Bug description:
  2013-08-25 01:51:12.304 DEBUG amqp [-] Channel open from (pid=24811) _open_ok /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
  2013-08-25 01:51:12.330 ERROR nova.compute.manager [req-a544bf47-550d-4f20-b026-b8312f8c0641 demo demo] [instance: 0aff95af-3246-4e38-a678-8255bfe590a9] Instance failed to spawn
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9] Traceback (most recent call last):
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]   File "/opt/stack/nova/nova/compute/manager.py", line 1288, in _spawn
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]     block_device_info)
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 631, in spawn
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]     _vmops = self._get_vmops_for_compute_node(instance['node'])
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 560, in _get_vmops_for_compute_node
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]     return self._resources.get(self._get_mo_id(nodename)).get('vmops')
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9] AttributeError: 'NoneType' object has no attribute 'get'
  2013-08-25 01:51:12.330 TRACE nova.compute.manager [instance: 0aff95af-3246-4e38-a678-8255bfe590a9]
  2013-08-25 01:51:12.331 DEBUG nova.compute.claims [req-a544bf47-550d-4f20-b026-b8312f8c0641 demo demo] [instance: 0aff95af-3246-4e38-a678-8255bfe590a9] Aborting claim: [Claim: 512 MB memory,

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