neutron/neutron/tests/functional/agent
Rodolfo Alonso Hernandez 20e8c6f553 Import "oslo_config.cfg" before "eventlet"
Eventlet will patch the "os" library and how it works.

If "oslo_config.cfg" is called after "eventlet":
- "oslo_config.cfg" imports "stevedore"
- "stevedore" imports "importlib_metadata"
- this library will try to use "os.open" library, but patched
- "eventlet" imports "oslo_service"
- "oslo_service" imports "oslo_logging"
- "oslo_logging" imports "oslo_config.cfg", but at this point,
  the instance cfg.CONF does not exist yet

If "oslo_config.cfg" is imported before calling eventlet,
"oslo_logging" is not called and there is no circular import.

Closes-Bug: #1888213

[1]I8b08f289d446f4775eac1e1a91997fa96f25f641

Change-Id: Idcc04f46b2a01e24dfd56cef8121694439e0339e
(cherry picked from commit bc99e56515)
2020-10-09 09:54:46 +00:00
..
common Make OVS controller inactivity_probe configurable 2019-05-25 13:30:57 +00:00
l2 Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:05 +00:00
l3 Merge ""ping"/"ping6" command support in rootwrap filters" into stable/stein 2020-09-22 01:28:46 +00:00
linux Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:46 +00:00
ovsdb Remove polling from test_create_bridges 2018-12-19 17:05:18 +00:00
windows All functional tests logs results now 2018-11-21 19:58:18 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Add kill hooks for external processes 2019-06-05 14:39:15 +00:00
test_firewall.py [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 11:23:01 +00:00
test_l2_lb_agent.py LB Trunk: Stop matching MAC of subport to port model 2017-03-01 14:10:00 +00:00
test_l2_ovs_agent.py Stop OVS agent before starting it again 2019-06-25 05:39:59 +00:00
test_ovs_flows.py Remove deprecated vsctl ovsdb_interface api 2018-10-11 14:59:34 -04:00
test_ovs_lib.py Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:05 +00:00