neutron/neutron/tests/functional/agent
Rodolfo Alonso Hernandez 56f2bf37d1 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-11-10 07:57:19 +00:00
..
l2 Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:32 +00:00
l3 Add 'keepalived_use_no_track' config option 2020-08-25 10:27:05 +02:00
linux Import "oslo_config.cfg" before "eventlet" 2020-11-10 07:57:19 +00:00
windows Fix pep8 errors 2018-04-11 01:10:49 +09:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_dhcp_agent.py Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
test_firewall.py [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-07-31 11:23:18 +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-08-12 12:11:05 +00:00
test_ovs_flows.py of_interface: Implement bundled() method 2018-04-18 18:33:55 +09:00
test_ovs_lib.py Add "igmp_snooping_enable" config option for OVS agent 2020-06-12 15:03:32 +00:00