← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1302480] [NEW] Nova boot fails when there is a Dummy datacenter in the vCenter

 

*** This bug is a duplicate of bug 1302482 ***
    https://bugs.launchpad.net/bugs/1302482

Public bug reported:

when there is a Datacenter with no host  , i.e an empty cluster, nova boot fails.
The scheduler 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

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: openstack-compute

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

Title:
  Nova boot fails when there is a Dummy datacenter  in the vCenter

Status in OpenStack Compute (Nova):
  New

Bug description:
  when there is a Datacenter with no host  , i.e an empty cluster, nova boot fails.
  The scheduler 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/1302480/+subscriptions


Follow ups

References