← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1126078] Re: vCenter nova compute service fails to start because base_dir_name config not registered but used by vmops.py

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
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/1126078

Title:
  vCenter nova compute service fails to start because base_dir_name
  config not registered but used by vmops.py

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When VC nova driver is started, it fails with the following error

  INFO nova.virt.driver Loading compute driver 'vmwareapi.VMwareVCDriver'
  CRITICAL nova 
  no such option: base_dir_name
  Traceback (most recent call last):
    File "nova-compute", line 82, in <module>
     db_allowed=False)
    File "/opt/stack/nova/nova/service.py", line 534, in create
     db_allowed=db_allowed)
    File "/opt/stack/nova/nova/service.py", line 413, in __init__
      self.manager = manager_class(host=self.host, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 323, in __init__
      self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
    File "/opt/stack/nova/nova/virt/driver.py", line 879, in load_compute_driver
      virtapi)
    File "/opt/stack/nova/nova/openstack/common/importutils.py", line 51, in import_object_ns
      return import_class(import_value)(*args, **kwargs)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 348, in __init__
      super(VMwareVCDriver, self).__init__(virtapi)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 150, in __init__
      self._volumeops, self._cluster_name)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 87, in __init__
     self._instance_path_base = VMWARE_PREFIX + CONF.base_dir_name
    File "/opt/stack/nova/nova/openstack/common/cfg.py", line 1152, in __getattr__
      return self._get(name)
    File "/opt/stack/nova/nova/openstack/common/cfg.py", line 1456, in _get
      value = self._substitute(self._do_get(name, group))
    File "/opt/stack/nova/nova/openstack/common/cfg.py", line 1472, in _do_get
      info = self._get_opt_info(name, group)
    File "/opt/stack/nova/nova/openstack/common/cfg.py", line 1572, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  NoSuchOptError: no such option: base_dir_name

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1126078/+subscriptions