VCDriver: nova compute failed to start up

Bug #1280705 reported by Guangya Liu (Jay Lau)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

 DC
    |
    |----Cluster1
    | |
    | |----9.111.249.56
    |
    |----Cluster2
               |
               |----9.111.249.49

Preconditions:
1) Using VCDriver
2) nova compute 1 manage Cluster1
3) nova compute 2 manage Cluster2

Test case:
1) Create one VM located on Cluster2
2) Stop nova compute for Cluster1 and then restart this nova compute.
3) The nova compute which manages Cluster1 failed to start up

2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 117, in wait
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup x.wait()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/openstack/common/threadgroup.py", line 49, in wait
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup return self.thread.wait()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 168, in wait
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup return self._exit_event.wait()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup return hubs.get_hub().switch()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in switch
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup return self.greenlet.switch()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup result = function(*args, **kwargs)
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/openstack/common/service.py", line 480, in run_service
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup service.start()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/service.py", line 172, in start
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup self.manager.init_host()
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 811, in init_host
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup self._destroy_evacuated_instances(context)
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 570, in _destroy_evacuated_instances
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup bdi, destroy_disks)
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 635, in destroy
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup _vmops = self._get_vmops_for_compute_node(instance['node'])
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 522, in _get_vmops_for_compute_node
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup resource = self._get_resource_for_node(nodename)
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 514, in _get_resource_for_node
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup raise exception.NotFound(msg)
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup NotFound: NV-3AB798A The resource domain-c16(Cluster2) does not exist
2014-02-16 05:43:06.086 14496 TRACE nova.openstack.common.threadgroup

Tags: vmware
Revision history for this message
Guangya Liu (Jay Lau) (jay-lau-513) wrote :

nova compute 1 manage Cluster1
nova.conf:
cluster_name=Cluster1

nova compute 2 manage Cluster2
nova.conf:
cluster_name=Cluster2

Revision history for this message
Gary Kotton (garyk) wrote :

This should be dealt with by: https://review.openstack.org/#/c/69262/

tags: added: vmware
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.