yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07457
[Bug 1197041] Re: nova compute crashes if you do not have any hosts in your cluster
** Changed in: nova/havana
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/1197041
Title:
nova compute crashes if you do not have any hosts in your cluster
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) havana series:
Fix Released
Bug description:
I forgot to add a host to my cluster and brought up nova-compute. I
get the following crash on startup. A controlled exit with a proper
warning message would have saved me some time
\\File "/opt/stack/nova/nova/virt/vmwareapi/host.py", line 156, in __init__
self.update_status()
File "/opt/stack/nova/nova/virt/vmwareapi/host.py", line 169, in update_status
host_mor = vm_util.get_host_ref(self._session, self._cluster)
File "/opt/stack/nova/nova/virt/vmwareapi/vm_util.py", line 663, in get_host_ref
if not host_ret.ManagedObjectReference:
AttributeError: 'Text' object has no attribute 'ManagedObjectReference'
Removing descriptor: 6
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1197041/+subscriptions