VMware driver: Nova compute fails to start when multiple nova compute services are running per vCenter.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Sabari Murugesan | ||
Havana |
Fix Released
|
Undecided
|
Unassigned | ||
VMwareAPI-Team |
In Progress
|
High
|
Sabari Murugesan |
Bug Description
Nova Compute fails to start when there are multiple nova compute services running on different VMs(nova compute VMs) and each Vm managing multiple cluster in a vCenter and instances are provisioned on them.
Explanation:
Lets say, one nova compute vm(C1) is managing 5 clusters, and another(C2) managing 5 clusters. C1 manages n number of instances. Suppose in C2 compute service gets restarted, it fails to start.
Reason:
on the start up of the nova-compute, it checks the instances reported by the driver are still associated with this host. If they are not, it destroys them.
method _destroy_
log file attached.
summary: |
- VMware driver: Nova compute fails to start when two proxies are present - per vcenter + VMware driver: Nova compute fails to start when multiple nova compute + services are running per vCenter. |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → icehouse-3 |
assignee: | nobody → Gary Kotton (garyk) |
Changed in nova: | |
importance: | High → Critical |
Changed in openstack-vmwareapi-team: | |
status: | New → Fix Committed |
importance: | Undecided → High |
tags: | added: havana-backport-potential |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | none → icehouse-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
The stacktrace of the failure is: lib/python2. 7/dist- packages/ eventlet/ queue.py" , line 107, in switch greenlet. switch( value) lib/python2. 7/dist- packages/ eventlet/ greenthread. py", line 194, in main nova/nova/ openstack/ common/ service. py", line 480, in run_service nova/nova/ service. py", line 172, in start manager. init_host( ) nova/nova/ compute/ manager. py", line 805, in init_host _init_instance( context, instance) nova/nova/ compute/ manager. py", line 684, in _init_instance driver. plug_vifs( instance, net_info) nova/nova/ virt/vmwareapi/ driver. py", line 703, in plug_vifs vmops_for_ compute_ node(instance[ 'node'] ) nova/nova/ virt/vmwareapi/ driver. py", line 522, in _get_vmops_ for_compute_ node resource_ for_node( nodename) nova/nova/ virt/vmwareapi/ driver. py", line 514, in _get_resource_ for_node NotFound( msg) c7(Cluster31) does not exist
Traceback (most recent call last):
File "/usr/local/
self.
File "/usr/local/
result = function(*args, **kwargs)
File "/opt/stack/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
_vmops = self._get_
File "/opt/stack/
resource = self._get_
File "/opt/stack/
raise exception.
NotFound: The resource domain-