parse_service_provider_opt affecting VPN UTs
Bug #1422895 reported by
Paul Michali
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Doug Wiegley |
Bug Description
For VPN functional tests or unit test that are run after stacking with DevStack, the tests are failing, indicating that the service driver is not unique.
It appears that parse_service_
The work-around for unit tests, is to comment out the service_providers entry for VPN in neutron_
Changed in neutron: | |
assignee: | nobody → Doug Wiegley (dougwig) |
status: | New → In Progress |
Changed in neutron: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
To post a comment you must log in.
neutron_ vpnaas. tests.unit. services. vpn.test_ vpnaas_ driver_ plugin. TestVPNDriverPl ugin.test_ update_ status ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----
-------
Captured traceback: ption: Empty attachments: ging:'neutron. api.extensions'
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
_StringExce
pythonlog
stderr
stdout
pythonloggi ng:'': {{{ vpnaas. tests.unit. db.vpn. test_db_ vpnaas. TestVpnCorePlug in vpnaas. services. vpn.plugin. VPNDriverPlugin services. provider_ configuration] Driver neutron_ vpnaas. services. vpn.service_ drivers. ipsec.IPsecVPND river is not unique across providers neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ manager. py", line 133, in _get_plugin_ instance DriverManager( namespace, plugin_provider) neutron- vpnaas/ .tox/py27/ local/lib/ python2. 7/site- packages/ stevedore/ driver. py", line 45, in __init__
verify_ requirements= verify_ requirements, neutron- vpnaas/ .tox/py27/ local/lib/ python2. 7/site- packages/ stevedore/ named.py" , line 56, in __init__
self._ init_plugins( extensions) neutron- vpnaas/ .tox/py27/ local/lib/ python2. 7/site- packages/ stevedore/ driver. py", line 97, in _init_plugins
(self. namespace, name)) service_ plugins' driver found, looking for 'neutron_ vpnaas. services. vpn.plugin. VPNDriverPlugin '
2015-02-17 20:27:08,576 INFO [neutron.manager] Loading core plugin: neutron_
2015-02-17 20:27:08,577 INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
2015-02-17 20:27:08,577 INFO [neutron.manager] Loading Plugin: neutron_
2015-02-17 20:27:08,578 ERROR [neutron.
Traceback (most recent call last):
File "/opt/stack/
mgr = driver.
File "/opt/stack/
File "/opt/stack/
File "/opt/stack/
RuntimeError: No 'neutron.
}}}
Traceback (most recent call last): vpnaas/ tests/unit/ services/ vpn/test_ vpnaas_ driver_ plugin. py", line 47, in setUp
vpnaas_ plugin= VPN_DRIVER_ CLASS) vpnaas/ tests/unit/ db/vpn/ test_db_ vpnaas. py", line 438, in setUp
service_ plugins= service_ plugins vpnaas/ tests/base. py", line 52, in setUp neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ tests/unit/ test_db_ plugin. py", line 120, in setUp neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ api/v2/ router. py", line 74, in __init__ NeutronManager. get_plugin( ) neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ manager. py", line 222, in get_plugin proxy(cls. get_instance( ).plugin) neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ manager. py", line 216, in get_instance
cls._create_ instance( ) neutron- vpnaas/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_concurrenc y/lockutils. py", line 431, in inner neutron- vpnaas/ .tox/py27/ src/neutron/ neutron/ manager. py", line 202, in _create_instance
cls._instance = cls() neutron- vpnaas. ..
File "neutron_
File "neutron_
File "neutron_
plugin, service_plugins, ext_mgr)
File "/opt/stack/
self.api = router.APIRouter()
File "/opt/stack/
plugin = manager.
File "/opt/stack/
return weakref.
File "/opt/stack/
File "/opt/stack/
return f(*args, **kwargs)
File "/opt/stack/
File "/opt/stack/