Below is the error:
$ tox -egenconfig
genconfig create: /home/ubuntu/magnum/.tox/genconfig
genconfig installdeps: -r/home/ubuntu/magnum/requirements.txt, -r/home/ubuntu/magnum/test-requirements.txt
genconfig develop-inst: /home/ubuntu/magnum
genconfig runtests: commands[0] | oslo-config-generator --output-file etc/magnum/magnum.conf.sample --namespace magnum --namespace oslo.concurrency --namespace oslo.db --namespace oslo.log --namespace oslo.messaging --namespace keystonemiddleware.auth_token
Traceback (most recent call last):
File ".tox/genconfig/bin/oslo-config-generator", line 11, in <module>
sys.exit(main())
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 262, in main
generate(conf)
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 226, in generate
for namespace, listing in _list_opts(conf.namespace):
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 201, in _list_opts
invoke_on_load=True)
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/named.py", line 55, in __init__
verify_requirements)
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 170, in _load_plugins
self._on_load_failure_callback(self, ep, err)
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
verify_requirements,
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin
verify_requirements,
File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 187, in _load_one_plugin
obj = plugin(*invoke_args, **invoke_kwds)
File "/home/ubuntu/magnum/magnum/opts.py", line 43, in list_opts
log.generic_log_opts,
AttributeError: 'module' object has no attribute 'generic_log_opts'
ERROR: InvocationError: '/home/ubuntu/magnum/.tox/genconfig/bin/oslo-config-generator --output-file etc/magnum/magnum.conf.sample --namespace magnum --namespace oslo.concurrency --namespace oslo.db --namespace oslo.log --namespace oslo.messaging --namespace keystonemiddleware.auth_token'
_______________________________________________________________________________ summary ________________________________________________________________________________
ERROR: genconfig: commands failed
Fix proposed to branch: master /review. openstack. org/191529
Review: https:/