neutron/neutron/tests/fullstack
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
..
agents Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:46 +00:00
resources Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02: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 Randomize BaseFullStackTestCase._find_available_ips 2020-01-31 12:52:22 +00:00
test_agent_bandwidth_report.py sriov-agent: fullstack test resource info report 2018-10-26 08:14:46 +00:00
test_connectivity.py Disable IPv6 forwarding by default on HA routers 2018-05-31 20:19:21 +00:00
test_dhcp_agent.py Increase waiting time for network rescheduling 2020-04-07 20:18:59 +00:00
test_firewall.py fullstack: Migration from iptables_hybrid to openvswitch 2018-04-26 16:44:24 +00:00
test_l3_agent.py Check the namespace is ready in test_mtu_update tests 2019-09-13 09:35:01 +00:00
test_logging.py Follow-up: add fullstack test for logging 2018-09-06 14:59:10 +07:00
test_mtu.py Check mtu on network update 2020-01-07 14:31:31 +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-22 18:43:33 +02:00
test_qos.py TestMinBwQoSOvs must call the correct methods 2019-11-13 17:35:01 +00:00
test_securitygroup.py Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02: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.