← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1283337] Re: nova some tests are reaise NoSuchOptError

 

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

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

Title:
  nova some tests are reaise NoSuchOptError

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  I see there is fixed method in https://bugs.launchpad.net/nova/+bug/1164845 and 
  https://bugs.launchpad.net/nova/+bug/1276398,but they are different,so i report it.
  I wish someone can fix all of tests.

  I use devstack the errors is following:
  1.
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/tests/integrated/test_api_samples.py", line 3464, in setUp
      super(AttachInterfacesSampleJsonTest, self).setUp()
    File "/opt/stack/nova/nova/tests/integrated/test_api_samples.py", line 96, in setUp
      super(ApiSampleTestBaseV2, self).setUp()
    File "/opt/stack/nova/nova/tests/integrated/integrated_helpers.py", line 79, in setUp
      self._setup_services()
    File "/opt/stack/nova/nova/tests/integrated/integrated_helpers.py", line 91, in _setup_services
      self.consoleauth = self.start_service('consoleauth')
    File "/opt/stack/nova/nova/test.py", line 295, in start_service
      svc = self.useFixture(ServiceFixture(name, host, **kwargs))
    File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 628, in useFixture
      fixture.setUp()
    File "/opt/stack/nova/nova/test.py", line 174, in setUp
      self.service = service.Service.create(**self.kwargs)
    File "/opt/stack/nova/nova/service.py", line 272, in create
      manager = CONF.get(manager_cls, None)
    File "/usr/lib64/python2.6/_abcoll.py", line 336, in get
      return self[key]
    File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1652, in __getitem__
      return self.__getattr__(key)
    File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1648, in __getattr__
      raise NoSuchOptError(name)
  NoSuchOptError: no such option: consoleauth_manager

  2.
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/tests/api/openstack/compute/contrib/test_attach_interfaces.py", line 121, in setUp
      self.flags(neutron_auth_strategy=None)
    File "/opt/stack/nova/nova/test.py", line 292, in flags
      CONF.set_override(k, v, group)
    File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1579, in __inner
      result = f(self, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 1825, in set_override
      opt_info = self._get_opt_info(name, group)
    File "/usr/lib/python2.6/site-packages/oslo/config/cfg.py", line 2095, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  NoSuchOptError: no such option: neutron_auth_strategy

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