oslo-config-generated --namespace oslo.privsep

asked 2019-04-08 05:49:11 -0500

Trying to setup an all-in-one vm devstack but it seems to fail at +lib/neutron-legacy:_configure_neutron_common:697 exec ./tools/generate_config_file_samples.sh

It seems to trip up on the neutron.conf on namespace oslo.privsep but i am not sure what is wrong here?

-bash-4.2$ oslo-config-generator   --namespace oslo.privsep
Traceback (most recent call last):
  File "/usr/bin/oslo-config-generator", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 770, in main
    generate(conf)
  File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 731, in generate
    groups = _get_groups(_list_opts(conf.namespace))
  File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 476, in _list_opts
    loaders = _get_raw_opts_loaders(namespaces)
  File "/usr/lib/python2.7/site-packages/oslo_config/generator.py", line 420, in _get_raw_opts_loaders
    invoke_on_load=False)
  File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 81, in __init__
    verify_requirements)
  File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 203, in _load_plugins
    self._on_load_failure_callback(self, ep, err)
  File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 195, in _load_plugins
    verify_requirements,
  File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 158, in _load_one_plugin
    verify_requirements,
  File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 223, in _load_one_plugin
    plugin = ep.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2444, in resolve
    raise ImportError(str(exc))
ImportError: 'module' object has no attribute '_list_opts'


-bash-4.2$ cat etc/oslo-config-generator/neutron.conf
[DEFAULT]
output_file = etc/neutron.conf.sample
wrap_width = 79

namespace = neutron
namespace = neutron.agent
namespace = neutron.db
namespace = neutron.extensions
namespace = nova.auth
namespace = oslo.log
namespace = oslo.db
namespace = oslo.policy
namespace = oslo.privsep
namespace = oslo.concurrency
namespace = oslo.messaging
namespace = oslo.middleware.cors
namespace = oslo.middleware.http_proxy_to_wsgi
namespace = oslo.service.sslutils
namespace = oslo.service.wsgi
namespace = keystonemiddleware.auth_token
edit retag flag offensive close merge delete