neutron/neutron/tests/functional/agent
Rodolfo Alonso Hernandez bc99e56515 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
2020-07-20 15:55:46 +00:00
..
common Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
l2 Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
l3 Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
linux Import "oslo_config.cfg" before "eventlet" 2020-07-20 15:55:46 +00:00
ovn Merge "Complete removal of dependency on the "mock" package" 2020-05-10 12:57:39 +00:00
ovsdb Switch test cases to sudo dependent 2019-07-19 21:48:09 -05: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 Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
test_firewall.py [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-03-21 17:54:34 +08:00
test_l2_lb_agent.py Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
test_l2_ovs_agent.py Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00
test_ovs_flows.py Make DVR router support FLAT network for ovs-agent 2020-06-08 12:13:22 +00:00
test_ovs_lib.py Complete removal of dependency on the "mock" package 2020-05-01 12:05:34 -04:00