unit test networking_bgpvpn.tests.unit.extensions.test_bgpvpn.BgpvpnExtensionTestCase.test_bgpvpn_list fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-bgpvpn |
Fix Committed
|
Undecided
|
Thomas Morin |
Bug Description
A change in neutron results in a networking-bgpvpn unit test failure:
=======
ERROR: networking_
-------
Traceback (most recent call last):
File "/home/
return f(self, *args, **kwargs)
File "networking_
_get_
File "/home/
expect_
File "/home/
self.
File "/home/
res)
webtest.
'{"NeutronError": {"message": "Extensions not found: [\'bgpvpn\'].", "type": "ExtensionsNotF
'git bisect' allows to identify the neutron commit which introduces the issue:
https:/
At this point, I don't have identified /why/ this commit causes this failure.
no longer affects: | neutron |
Changed in bgpvpn: | |
status: | In Progress → Fix Committed |
I don't have a full analysis yet, but the part of [1] that causes the breakage is more precisely the fact that the extensions. PluginAwareExte nsionManager singleton instance is created at a different time than previously [2], and, in the context of the failing unit test, at a time when the extension path does not include the path to the directory containing the bgpvpn.py extension.
[1] https:/ /review. openstack. org/#/c/ 545490/ /review. openstack. org/#/c/ 545490/ 19/neutron/ api/api_ common. py lines 78 -> 98
[2] https:/