nova failures when vCenter has multiple datacenters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Gary Kotton | ||
Havana |
Fix Released
|
High
|
Gary Kotton | ||
VMwareAPI-Team |
Fix Committed
|
Critical
|
Gary Kotton | ||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The method at vmops.py _get_datacenter
def _get_datacenter
"""Get the datacenter name and the reference."""
dc_obj = self._session.
return dc_obj.
This will not be correct on systems with more than one datacenter.
Stack trace from logs:
ERROR nova.compute.
vCenter error is:
"A specified parameter was not correct. spec.location.
Work around:
use only one datacenter, use only one cluster, turn on DRS
Additional failures:
2013-07-18 10:59:12.788 DEBUG nova.virt.
2013-07-18 10:59:12.963 WARNING nova.virt.
value = "network-1501"
_type = "Network"
}, (ManagedObjectR
value = "network-1458"
_type = "Network"
}, (ManagedObjectR
value = "network-2085"
_type = "Network"
}, (ManagedObjectR
value = "network-1143"
_type = "Network"
}]
2013-07-18 10:59:13.326 DEBUG nova.virt.
2013-07-18 10:59:14.258 3145 DEBUG nova.openstack.
2013-07-18 10:59:14.259 3145 DEBUG nova.openstack.
2013-07-18 10:59:14.259 3145 DEBUG nova.openstack.
2013-07-18 10:59:18.757 3145 WARNING nova.virt.
value = "task-33558"
_type = "Task"
} status: error The input arguments had entities that did not belong to the same datacenter.
2013-07-18 10:59:18.758 ERROR nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:18.758 3145 TRACE nova.compute.
2013-07-18 10:59:20.029 ERROR nova.compute.
2013-07-18 10:59:23.831 3145 WARNING nova.virt.
value = "task-33558"
_type = "Task"
} status: error The input arguments had entities that did not belong to the same datacenter.
2013-07-18 10:59:23.832 3145 WARNING nova.virt.
2013-07-18 10:59:23.833 3145 ERROR nova.utils [-] in fixed duration looping call
2013-07-18 10:59:23.833 3145 TRACE nova.utils Traceback (most recent call last):
2013-07-18 10:59:23.833 3145 TRACE nova.utils File "/usr/lib/
2013-07-18 10:59:23.833 3145 TRACE nova.utils self.f(*self.args, **self.kw)
2013-07-18 10:59:23.833 3145 TRACE nova.utils File "/usr/lib/
2013-07-18 10:59:23.833 3145 TRACE nova.utils done.send_
2013-07-18 10:59:23.833 3145 TRACE nova.utils File "/usr/lib/
2013-07-18 10:59:23.833 3145 TRACE nova.utils return self.send(None, args)
2013-07-18 10:59:23.833 3145 TRACE nova.utils File "/usr/lib/
2013-07-18 10:59:23.833 3145 TRACE nova.utils assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.'
2013-07-18 10:59:23.833 3145 TRACE nova.utils AssertionError: Trying to re-send() an already-triggered event.
2013-07-18 10:59:23.833 3145 TRACE nova.utils
summary: |
- nova boot fails when a VMware vCenter managed data center is empty + nova boot fails when any VMware vCenter managed datacenter object is + empty |
description: | updated |
Changed in nova: | |
assignee: | nobody → Shawn Hartsock (hartsock) |
summary: |
- nova boot fails when any VMware vCenter managed datacenter object is - empty + nova boot fails when any VMware vCenter managed datacenter or container + object is empty |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in nova: | |
milestone: | none → havana-2 |
summary: |
- nova boot fails when any VMware vCenter managed datacenter or container - object is empty + nova boot fails with multiple vCenter managed datacenters |
Changed in nova: | |
importance: | High → Critical |
tags: | added: grizzly-backport-potential |
description: | updated |
Changed in nova: | |
assignee: | Sabari Kumar Murugesan (smurugesan) → nobody |
assignee: | nobody → Shawn Hartsock (hartsock) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- nova boot fails with multiple vCenter managed datacenters + nova boot fails when vCenter has multiple managed stand-alone hosts and + no clear default host |
Changed in nova: | |
importance: | High → Critical |
Changed in nova: | |
importance: | High → Critical |
importance: | Critical → High |
Changed in nova: | |
milestone: | havana-2 → havana-3 |
Changed in nova: | |
importance: | High → Low |
status: | In Progress → Triaged |
summary: |
- nova failures when vCenter multiple datacenters, managed hosts, or + nova failures when vCenter has multiple datacenters, managed hosts, or clusters and no clear default host |
description: | updated |
summary: |
- nova failures when vCenter has multiple datacenters, managed hosts, or - clusters and no clear default host + nova failures when vCenter has multiple datacenters |
description: | updated |
Changed in nova: | |
assignee: | Gary Kotton (garyk) → nobody |
assignee: | nobody → Vui Lam (vui) |
Changed in nova: | |
milestone: | havana-3 → havana-rc1 |
Changed in nova: | |
importance: | High → Medium |
Changed in nova: | |
assignee: | Vui Lam (vui) → Shawn Hartsock (hartsock) |
tags: |
added: havana-backport-potential removed: havana-rc-potential |
Changed in nova: | |
importance: | Medium → High |
Changed in nova: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in openstack-vmwareapi-team: | |
importance: | Undecided → Critical |
Changed in openstack-vmwareapi-team: | |
assignee: | nobody → Gary Kotton (garyk) |
Changed in openstack-vmwareapi-team: | |
status: | New → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
tags: | removed: havana-backport-potential |
tags: | removed: grizzly-backport-potential |
Changed in nova: | |
milestone: | icehouse-2 → 2014.1 |
I tried to reproduce this by taking a working setup with a single datacenter and adding a second empty datacenter. Even when i restacked the environment, I did not see an error, so there must be slightly more to it than described.