← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454640] [NEW] ml2.test_rpc cannot be run with testtools

 

Public bug reported:

When running ml2.test_rpc with testtools the following error is got:

./run_tests.sh -d  neutron.tests.unit.plugins.ml2.test_rpc.RpcCallbacksTestCase.test_update_device_list_no_failure
Tests running...
======================================================================
ERROR: neutron.tests.unit.plugins.ml2.test_rpc.RpcCallbacksTestCase.test_update_device_list_no_failure
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'

Traceback (most recent call last):
  File "neutron/tests/unit/plugins/ml2/test_rpc.py", line 41, in setUp
    self.type_manager = managers.TypeManager()
  File "neutron/plugins/ml2/managers.py", line 46, in __init__
    cfg.CONF.ml2.type_drivers)
  File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1867, in __getattr__
    raise NoSuchOptError(name)
oslo_config.cfg.NoSuchOptError: no such option: ml2

** Affects: neutron
     Importance: Undecided
     Assignee: Rossella Sblendido (rossella-o)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rossella Sblendido (rossella-o)

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

Title:
  ml2.test_rpc cannot be run with testtools

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When running ml2.test_rpc with testtools the following error is got:

  ./run_tests.sh -d  neutron.tests.unit.plugins.ml2.test_rpc.RpcCallbacksTestCase.test_update_device_list_no_failure
  Tests running...
  ======================================================================
  ERROR: neutron.tests.unit.plugins.ml2.test_rpc.RpcCallbacksTestCase.test_update_device_list_no_failure
  ----------------------------------------------------------------------
  Empty attachments:
    pythonlogging:''
    pythonlogging:'neutron.api.extensions'

  Traceback (most recent call last):
    File "neutron/tests/unit/plugins/ml2/test_rpc.py", line 41, in setUp
      self.type_manager = managers.TypeManager()
    File "neutron/plugins/ml2/managers.py", line 46, in __init__
      cfg.CONF.ml2.type_drivers)
    File "/opt/stack/neutron/.venv/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 1867, in __getattr__
      raise NoSuchOptError(name)
  oslo_config.cfg.NoSuchOptError: no such option: ml2

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


Follow ups

References