neutron/neutron/tests/functional
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
..
agent Import "oslo_config.cfg" before "eventlet" 2020-10-09 09:54:46 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Check "security_group_rule" quota during security group creation 2020-04-24 11:45:27 +02:00
pecan_wsgi Fix bulk port functioning with requested security groups 2019-09-12 19:09:23 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Kill all processes running in a namespace before deletion 2020-04-20 16:35:04 +02:00
sanity All functional tests logs results now 2018-11-21 19:58:18 +00:00
scheduler Use constant IP_VERSION_4/6 in functional tests 2018-08-27 21:45:56 +00:00
services [DVR] Related routers should be included if are requested 2020-07-10 13:30:31 +00:00
tests NetcatTester.stop_processes skip "No such process" exception 2019-11-22 10:54:17 +00:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Increase timeouts for OVSDB in functional tests 2019-09-13 10:57:02 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py String to byte conversion should provide the encoding type 2020-09-01 14:00:47 -04:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00