[rocky] Request to Keystone gives Internal Server due to invalid config

Bug #1784295 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
Fix Released
High
Frode Nordahl

Bug Description

2018-07-30 06:06:45.386947 mod_wsgi (pid=735): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2018-07-30 06:06:45.386988 mod_wsgi (pid=735): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2018-07-30 06:06:45.387010 Traceback (most recent call last):
2018-07-30 06:06:45.387025 File "/usr/bin/keystone-wsgi-admin", line 54, in <module>
2018-07-30 06:06:45.387222 application = initialize_admin_application()
2018-07-30 06:06:45.387247 File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 129, in initialize_admin_application
2018-07-30 06:06:45.387383 config_files=_get_config_files())
2018-07-30 06:06:45.387407 File "/usr/lib/python2.7/dist-packages/keystone/server/wsgi.py", line 66, in initialize_application
2018-07-30 06:06:45.387426 startup_application_fn=loadapp)
2018-07-30 06:06:45.387513 File "/usr/lib/python2.7/dist-packages/keystone/server/common.py", line 46, in setup_backends
2018-07-30 06:06:45.387633 drivers = backends.load_backends()
2018-07-30 06:06:45.387656 File "/usr/lib/python2.7/dist-packages/keystone/server/backends.py", line 59, in load_backends
2018-07-30 06:06:45.387780 auth.core.load_auth_methods()
2018-07-30 06:06:45.387801 File "/usr/lib/python2.7/dist-packages/keystone/auth/core.py", line 59, in load_auth_methods
2018-07-30 06:06:45.388009 AUTH_METHODS[plugin] = load_auth_method(plugin)
2018-07-30 06:06:45.388032 File "/usr/lib/python2.7/dist-packages/keystone/auth/core.py", line 45, in load_auth_method
2018-07-30 06:06:45.388050 driver_manager = _get_auth_driver_manager(namespace, plugin_name)
2018-07-30 06:06:45.388057 File "/usr/lib/python2.7/dist-packages/keystone/auth/core.py", line 39, in _get_auth_driver_manager
2018-07-30 06:06:45.388143 return stevedore.DriverManager(namespace, plugin_name, invoke_on_load=True)
2018-07-30 06:06:45.388164 File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 61, in __init__
2018-07-30 06:06:45.388315 warn_on_missing_entrypoint=warn_on_missing_entrypoint
2018-07-30 06:06:45.388336 File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 89, in __init__
2018-07-30 06:06:45.388479 self._init_plugins(extensions)
2018-07-30 06:06:45.388499 File "/usr/lib/python2.7/dist-packages/stevedore/driver.py", line 113, in _init_plugins
2018-07-30 06:06:45.388581 (self.namespace, name))
2018-07-30 06:06:45.388610 NoMatches: No 'keystone.auth.oauth1' driver found, looking for 'keystone.auth.plugins.oauth1.OAuth'

Frode Nordahl (fnordahl)
Changed in charm-keystone:
status: New → Triaged
importance: Undecided → High
milestone: none → 18.08
Revision history for this message
Frode Nordahl (fnordahl) wrote :
Changed in charm-keystone:
assignee: nobody → Frode Nordahl (fnordahl)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (master)

Reviewed: https://review.openstack.org/586947
Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=267aeb824f32d417e9c742963f0fa1c9ba89ac0c
Submitter: Zuul
Branch: master

commit 267aeb824f32d417e9c742963f0fa1c9ba89ac0c
Author: Frode Nordahl <email address hidden>
Date: Mon Jul 30 08:36:52 2018 +0200

    Remove entry point configuration

    The configuration options for plugin entry points is
    superflous and leads to Internal Server errors on Rocky.

    Remove them from configuration and have Keystone use its
    defaults.

    Change-Id: I460aec084478f2ead8c16a11c0731bc110197368
    Closes-Bug: #1784295

Changed in charm-keystone:
status: Triaged → Fix Committed
David Ames (thedac)
Changed in charm-keystone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.