[Openstack] [neutron][install] Neutron server fails citing unknown option auth_admin_prefix

Bernd Bausch berndbausch at gmail.com
Tue Sep 18 03:17:20 UTC 2018


I am trying the Neutron Rocky installation guide, setting up the tenant
networks option. The OS is Centos 7.

After going through all configurations on the controller, the Neutron
server fails to start with the following error message in its log:

    NoSuchOptError: no such option auth_admin_prefix in group [keystone]

This baffles me. There is no file under /etc that contains the string
auth_admin_prefix. This config variable has been deprecated since Newton
at least. Where does it come from? How can I remove it? I see the string
mentioned in a few launchpad bug descriptions, but only in the context
of deprecation warnings.

The associated stack trace is reproduced below, plus a few additional
log messages at the beginning. While "__file__" and "here" (mentioned in
bug 1722444[1]) don't seem to trip Neutron or Keystone,
"auth_admin_prefix" does.

Thanks for inputs.

Bernd.

[1] https://bugs.launchpad.net/keystonemiddleware/+bug/1722444

---

2018-09-18 11:16:10.421 16109 WARNING keystonemiddleware._common.config
[req-52d15bb4-b80e-47fc-80f0-2e9a856e3796 - - - - -] The option
"__file__" in conf is not known to auth_token
2018-09-18 11:16:10.422 16109 WARNING keystonemiddleware._common.config
[req-52d15bb4-b80e-47fc-80f0-2e9a856e3796 - - - - -] The option "here"
in conf is not known to auth_token
2018-09-18 11:16:10.427 16109 WARNING keystonemiddleware.auth_token
[req-52d15bb4-b80e-47fc-80f0-2e9a856e3796 - - - - -] AuthToken
middleware is set with keystone_authtoken.service_token_roles_required
set to False. This is backwards compatible but deprecated behaviour.
Please set this to True.
2018-09-18 11:16:10.429 16109 ERROR neutron.service
[req-52d15bb4-b80e-47fc-80f0-2e9a856e3796 - - - - -] Unrecoverable
error: please check log for details.: NoSuchOptError: no such option
auth_admin_prefix in group [keystone]
2018-09-18 11:22:22.937 18401 CRITICAL neutron
[req-35daa9ce-b9ce-481f-a9af-6304528b843a - - - - -] Unhandled error:
NoSuchOptError: no such option auth_admin_prefix in group [keystone]
2018-09-18 11:22:22.937 18401 ERROR neutron Traceback (most recent call
last):
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/bin/neutron-server", line 10, in <module>
2018-09-18 11:22:22.937 18401 ERROR neutron     sys.exit(main())
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/server/__init__.py",
line 19, in main
2018-09-18 11:22:22.937 18401 ERROR neutron    
server.boot_server(wsgi_eventlet.eventlet_wsgi_server)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/server/__init__.py", line 68,
in boot_server
2018-09-18 11:22:22.937 18401 ERROR neutron     server_func()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/server/wsgi_eventlet.py", line
23, in eventlet_wsgi_server
2018-09-18 11:22:22.937 18401 ERROR neutron     neutron_api =
service.serve_wsgi(service.NeutronApiService)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/service.py", line 89, in
serve_wsgi
2018-09-18 11:22:22.937 18401 ERROR neutron    
LOG.exception('Unrecoverable error: please check log '
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in
__exit__
2018-09-18 11:22:22.937 18401 ERROR neutron     self.force_reraise()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
force_reraise
2018-09-18 11:22:22.937 18401 ERROR neutron     six.reraise(self.type_,
self.value, self.tb)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/service.py", line 86, in
serve_wsgi
2018-09-18 11:22:22.937 18401 ERROR neutron     service.start()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/service.py", line 62, in start
2018-09-18 11:22:22.937 18401 ERROR neutron     self.wsgi_app =
_run_wsgi(self.app_name)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/service.py", line 291, in
_run_wsgi
2018-09-18 11:22:22.937 18401 ERROR neutron     app =
config.load_paste_app(app_name)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/common/config.py", line 125,
in load_paste_app
2018-09-18 11:22:22.937 18401 ERROR neutron     app =
loader.load_app(app_name)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 353, in
load_app
2018-09-18 11:22:22.937 18401 ERROR neutron     return
deploy.loadapp("config:%s" % self.config_path, name=name)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247,
in loadapp
2018-09-18 11:22:22.937 18401 ERROR neutron     return loadobj(APP, uri,
name=name, **kw)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272,
in loadobj
2018-09-18 11:22:22.937 18401 ERROR neutron     return context.create()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710,
in create
2018-09-18 11:22:22.937 18401 ERROR neutron     return
self.object_type.invoke(self)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144,
in invoke
2018-09-18 11:22:22.937 18401 ERROR neutron     **context.local_conf)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in
fix_call
2018-09-18 11:22:22.937 18401 ERROR neutron     val = callable(*args, **kw)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in
urlmap_factory
2018-09-18 11:22:22.937 18401 ERROR neutron     app =
loader.get_app(app_name, global_conf=global_conf)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350,
in get_app
2018-09-18 11:22:22.937 18401 ERROR neutron     name=name,
global_conf=global_conf).create()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710,
in create
2018-09-18 11:22:22.937 18401 ERROR neutron     return
self.object_type.invoke(self)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144,
in invoke
2018-09-18 11:22:22.937 18401 ERROR neutron     **context.local_conf)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in
fix_call
2018-09-18 11:22:22.937 18401 ERROR neutron     val = callable(*args, **kw)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/neutron/auth.py", line 50, in
pipeline_factory
2018-09-18 11:22:22.937 18401 ERROR neutron     app = filter(app)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py",
line 988, in auth_filter
2018-09-18 11:22:22.937 18401 ERROR neutron     return AuthProtocol(app,
conf)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py",
line 576, in __init__
2018-09-18 11:22:22.937 18401 ERROR neutron     self._auth =
self._create_auth_plugin()
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py",
line 897, in _create_auth_plugin
2018-09-18 11:22:22.937 18401 ERROR neutron     group=group),
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/keystonemiddleware/_common/config.py",
line 115, in get
2018-09-18 11:22:22.937 18401 ERROR neutron     return
self.oslo_conf_obj[group][name]
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3555, in
__getitem__
2018-09-18 11:22:22.937 18401 ERROR neutron     return self.__getattr__(key)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3551, in
__getattr__
2018-09-18 11:22:22.937 18401 ERROR neutron     return
self._conf._get(name, self._group)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3073, in _get
2018-09-18 11:22:22.937 18401 ERROR neutron     value, loc =
self._do_get(name, group, namespace)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3091, in _do_get
2018-09-18 11:22:22.937 18401 ERROR neutron     info =
self._get_opt_info(name, group)
2018-09-18 11:22:22.937 18401 ERROR neutron   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3267, in
_get_opt_info
2018-09-18 11:22:22.937 18401 ERROR neutron     raise
NoSuchOptError(opt_name, group)
2018-09-18 11:22:22.937 18401 ERROR neutron NoSuchOptError: no such
option auth_admin_prefix in group [keystone]



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180918/8efd4ded/attachment.sig>


More information about the Openstack mailing list