neutron/neutron/tests/fullstack
Rodolfo Alonso Hernandez 274a75497a 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:56:31 +00:00
..
cmd Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:56:31 +00:00
resources Increase TestDhcpAgentHA.agent_down_time to 30 seconds 2019-09-06 11:02:40 +00:00
README Moved fullstack test doc content to TESTING.rst 2015-12-03 17:02:54 -05:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Check the namespace is ready in test_mtu_update tests 2019-09-16 09:31:34 +00:00
test_connectivity.py Disable IPv6 forwarding by default on HA routers 2018-06-03 19:10:40 +00:00
test_dhcp_agent.py Increase waiting time for network rescheduling 2020-04-07 20:19:28 +00:00
test_l3_agent.py Check the namespace is ready in test_mtu_update tests 2019-09-16 09:31:34 +00:00
test_mtu.py Skip MTU check during deletion of Networks 2018-07-20 10:58:32 +00:00
test_port_shut_down.py [OVS] Shut down the port on changing the admin-state to false 2018-01-04 01:44:01 -05:00
test_ports_rebind.py Make port binding attempt after agent is revived 2018-10-23 11:00:50 +02:00
test_qos.py Clear residual qos rules after l2-agent restarts. 2019-01-24 06:43:01 +00:00
test_securitygroup.py [Fullstack] Wait for SG to be applied by L2 agent 2018-06-19 07:11:54 +00:00
test_trunk.py Fullstack: init trunk agent's driver only when necessary 2017-11-03 16:49:12 +00:00
utils.py fullstack: Remove ovsdb_interface config opt 2017-09-27 07:03:17 +00:00

README

Please see neutron/TESTING.rst.