← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302482] Re: VMware driver: Nova boot fails when there is a datacenter with no datastore associated with it.

 

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

** Changed in: nova
    Milestone: None => juno-1

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

Title:
  VMware driver: Nova boot fails when there is a datacenter with no
  datastore associated with it.

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  when there is a Datacenter in the vCenter with no datastore associated
  with it, nova boot fails  even though there are data-centers
  configured properly.

  The log error trace

  Error from last host: devstack (node domain-c162(Demo-1)): [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1322, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 399, in decorated_function\n    return function(self, context, *args, **kwargs)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1734, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 68, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1731, in _spawn\n    block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 619, in spawn\n    admin_password, network_info, block_device_info)\n', u'  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 211, in spawn\n    dc_info = self.get_datacenter_ref_and_name(data_store_ref)\n', u'  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1715, in get_datacenter_ref_and_name\n    self._update_datacenter_cache_from_objects(dcs)\n', u'  File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 1693, in _update_datacenter_cache_from_objects\n    datastore_refs = p.val.ManagedObjectReference\n', u"AttributeError: 'Text' object has no attribute 'ManagedObjectReference'\n"]
  2014-04-04 03:05:41.629 WARNING nova.scheduler.driver [req-cc690e5a-2bf3-4566-a697-30ca882df815 nova service] [instance: f0abb23a-943a-475d-ac63-69d2563362cb] Setting instance to ERROR state.

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


References