I think we have a circular reference. See http://paste.openstack.org/show/796122/. That's happening since I8b08f289d446f4775eac1e1a91997fa96f25f641.
oslo_config.cfg calls stevedore --> calls importlib_metadata --> imports oslo_log.log --> imports oslo_log.versionutils --> imports oslo_config.cfg !!
Two items there: - remove oslo_service log import (not needed). - configure logging before dynamically loading any module
I think we have a circular reference. See http:// paste.openstack .org/show/ 796122/. That's happening since I8b08f289d446f4 775eac1e1a91997 fa96f25f641.
oslo_config.cfg calls stevedore versionutils
--> calls importlib_metadata
--> imports oslo_log.log
--> imports oslo_log.
--> imports oslo_config.cfg !!
Two items there:
- remove oslo_service log import (not needed).
- configure logging before dynamically loading any module