Just to note I'm seeing similar issues with Cinder on Mitaka. The stack trace I eventually see is of the form:
$ oslo-config-generator --namespace oslo.db.concurrency
Traceback (most recent call last):
File "/usr/bin/oslo-config-generator", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/vendor-packages/oslo_config/generator.py", line 419, in main
generate(conf)
File "/usr/lib/python2.7/vendor-packages/oslo_config/generator.py", line 401, in generate
groups = _get_groups(_list_opts(conf.namespace))
File "/usr/lib/python2.7/vendor-packages/oslo_config/generator.py", line 333, in _list_opts
loaders = _get_raw_opts_loaders(namespaces)
File "/usr/lib/python2.7/vendor-packages/oslo_config/generator.py", line 305, in _get_raw_opts_loaders
invoke_on_load=False)
File "/usr/lib/python2.7/vendor-packages/stevedore/named.py", line 55, in __init__
verify_requirements)
File "/usr/lib/python2.7/vendor-packages/stevedore/extension.py", line 171, in _load_plugins
self._on_load_failure_callback(self, ep, err)
File "/usr/lib/python2.7/vendor-packages/stevedore/extension.py", line 163, in _load_plugins
verify_requirements,
File "/usr/lib/python2.7/vendor-packages/stevedore/named.py", line 123, in _load_one_plugin
verify_requirements,
File "/usr/lib/python2.7/vendor-packages/stevedore/extension.py", line 184, in _load_one_plugin
plugin = ep.resolve()
File "/usr/lib/python2.7/vendor-packages/pkg_resources/__init__.py", line 2386, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named oslo.db.concurrency
This is with Solaris packages, in particular oslo.config 3.9.0, stevedore 1.12.0, and setuptools 19.2.
Just to note I'm seeing similar issues with Cinder on Mitaka. The stack trace I eventually see is of the form:
$ oslo-config- generator --namespace oslo.db.concurrency oslo-config- generator" , line 10, in <module> exit(main( )) python2. 7/vendor- packages/ oslo_config/ generator. py", line 419, in main python2. 7/vendor- packages/ oslo_config/ generator. py", line 401, in generate _list_opts( conf.namespace) ) python2. 7/vendor- packages/ oslo_config/ generator. py", line 333, in _list_opts opts_loaders( namespaces) python2. 7/vendor- packages/ oslo_config/ generator. py", line 305, in _get_raw_ opts_loaders on_load= False) python2. 7/vendor- packages/ stevedore/ named.py" , line 55, in __init__ requirements) python2. 7/vendor- packages/ stevedore/ extension. py", line 171, in _load_plugins _on_load_ failure_ callback( self, ep, err) python2. 7/vendor- packages/ stevedore/ extension. py", line 163, in _load_plugins requirements, python2. 7/vendor- packages/ stevedore/ named.py" , line 123, in _load_one_plugin requirements, python2. 7/vendor- packages/ stevedore/ extension. py", line 184, in _load_one_plugin python2. 7/vendor- packages/ pkg_resources/ __init_ _.py", line 2386, in resolve _(self. module_ name, fromlist= ['__name_ _'], level=0)
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
generate(conf)
File "/usr/lib/
groups = _get_groups(
File "/usr/lib/
loaders = _get_raw_
File "/usr/lib/
invoke_
File "/usr/lib/
verify_
File "/usr/lib/
self.
File "/usr/lib/
verify_
File "/usr/lib/
verify_
File "/usr/lib/
plugin = ep.resolve()
File "/usr/lib/
module = __import_
ImportError: No module named oslo.db.concurrency
This is with Solaris packages, in particular oslo.config 3.9.0, stevedore 1.12.0, and setuptools 19.2.