Ask Your Question

Revision history [back]

oslo-config-generated --namespace oslo.privsep

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

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>
  File "/usr/lib/python2.7/site-packages/oslo_config/", line 770, in main
  File "/usr/lib/python2.7/site-packages/oslo_config/", line 731, in generate
    groups = _get_groups(_list_opts(conf.namespace))
  File "/usr/lib/python2.7/site-packages/oslo_config/", line 476, in _list_opts
    loaders = _get_raw_opts_loaders(namespaces)
  File "/usr/lib/python2.7/site-packages/oslo_config/", line 420, in _get_raw_opts_loaders
  File "/usr/lib/python2.7/site-packages/stevedore/", line 81, in __init__
  File "/usr/lib/python2.7/site-packages/stevedore/", line 203, in _load_plugins
    self._on_load_failure_callback(self, ep, err)
  File "/usr/lib/python2.7/site-packages/stevedore/", line 195, in _load_plugins
  File "/usr/lib/python2.7/site-packages/stevedore/", line 158, in _load_one_plugin
  File "/usr/lib/python2.7/site-packages/stevedore/", line 223, in _load_one_plugin
    plugin = ep.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/", 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
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