56f2bf37d1
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
|
||
---|---|---|
.. | ||
cmd | ||
resources | ||
README | ||
__init__.py | ||
base.py | ||
test_connectivity.py | ||
test_dhcp_agent.py | ||
test_firewall.py | ||
test_l3_agent.py | ||
test_mtu.py | ||
test_port_shut_down.py | ||
test_ports_rebind.py | ||
test_qos.py | ||
test_securitygroup.py | ||
test_trunk.py | ||
utils.py |
README
Please see neutron/TESTING.rst.