Many functions use self._compute.conductor_api in class ComputeVirtAPI(virtapi.VirtAPI):
so during the driver loading (or the function __init__() of the driver), the driver has the chance to call conductor_api.
But conductor_api is initialized later than the driver loading, there will be some issue :
"ComputeManager object has no attribute 'conductor_api' "
https://github.com/openstack/nova/blob/master/nova/compute/manager.py
class ComputeManager(manager.SchedulerDependentManager):
"""Manages the running instances from creation to destruction."""
RPC_API_VERSION = '2.27'
def __init__(self, compute_driver=None, *args, **kwargs):
"""Load configuration options and connect to the hypervisor."""
self.virtapi = ComputeVirtAPI(self)
self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
...
self.conductor_api = conductor.API()
...
YangLei,
Can you please upload some logs?