← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1198904] Re: test_neutron_manager fails when running separately

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1198904

Title:
  test_neutron_manager fails when running separately

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  $ .venv/bin/python run_tests.py neutron.tests.unit.test_neutron_manager
  nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  NeutronManagerTestCase
      test_core_plugin_supports_services (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)OK
      test_multiple_plugins_specified_for_service_type (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)OK
      test_post_plugin_validation (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)ERROR
      test_pre_plugin_validation (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)OK
      test_service_plugin_conflicts_with_core_plugin (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)OK
      test_service_plugin_is_loaded (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)OK

  ======================================================================
  ERROR: test_post_plugin_validation (neutron.tests.unit.test_neutron_manager.NeutronManagerTestCase)
  ----------------------------------------------------------------------
  _StringException: pythonlogging:'': {{{2013-07-08 15:14:40,297    ERROR [neutron.common.legacy] Skipping unknown group key: firewall_driver}}}

  Traceback (most recent call last):
    File "/home/obondarev/projects/Quantum_main/quantum/neutron/tests/unit/test_neutron_manager.py", line 110, in test_post_plugin_validation
      cfg.CONF.set_override('dhcp_agents_per_network', 2)
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1229, in __inner
      return f(self, *args, **kwargs)
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1469, in set_override
      opt_info = self._get_opt_info(name, group)
    File "/home/obondarev/projects/Quantum_main/quantum/.venv/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1729, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  NoSuchOptError: no such option: dhcp_agents_per_network

  
  ----------------------------------------------------------------------
  Ran 6 tests in 0.294s

  FAILED (errors=1)

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