Cannot be loaded as python module - wsgi-keystone-admin

Bug #1933497 reported by shivani tripathi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
New
Undecided
Unassigned

Bug Description

We have deployed Openstack Train Version using kolla-ansible(9.3.1)

After adding AD server configuration details in the keystone.conf where the path as /etc/kolla/keystone/keystone.conf.

I referred to this link for setting up AD DS server on keystone identity container-->
https://wiki.openstack.org/wiki/HowtoIntegrateKeystonewithAD

Outcome:
Need to integrate keystone identity service with AD DS server.

Below is the issue when we restart the container of keystone identity service:

==> keystone-apache-admin-error.log <==
2021-06-22 19:41:29.302222 mod_wsgi (pid=32): Target WSGI script '/var/lib/kolla/venv/bin/keystone-wsgi-admin' cannot be loaded as Python module.
2021-06-22 19:41:29.302370 mod_wsgi (pid=32): Exception occurred processing WSGI script '/var/lib/kolla/venv/bin/keystone-wsgi-admin'.
2021-06-22 19:41:29.302451 Traceback (most recent call last):
2021-06-22 19:41:29.302505 File "/var/lib/kolla/venv/bin/keystone-wsgi-admin", line 52, in <module>
2021-06-22 19:41:29.302581 application = initialize_admin_application()
2021-06-22 19:41:29.302608 File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystone/server/wsgi.py", line 24, in initialize_public_application
2021-06-22 19:41:29.302656 name='public', config_files=flask_core._get_config_files())
2021-06-22 19:41:29.302680 File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystone/server/flask/core.py", line 157, in initialize_application
2021-06-22 19:41:29.302726 keystone.server.configure(config_files=config_files)
2021-06-22 19:41:29.302750 File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystone/server/__init__.py", line 28, in configure
2021-06-22 19:41:29.302848 keystone.conf.configure()
2021-06-22 19:41:29.302882 File "/var/lib/kolla/venv/lib/python2.7/site-packages/keystone/conf/__init__.py", line 137, in configure
2021-06-22 19:41:29.302931 deprecated_since=versionutils.deprecated.STEIN))
2021-06-22 19:41:29.302955 File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_config/cfg.py", line 2051, in __inner
2021-06-22 19:41:29.303002 result = f(self, *args, **kwargs)
2021-06-22 19:41:29.303056 File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_config/cfg.py", line 2329, in register_cli_opt
2021-06-22 19:41:29.303153 raise ArgsAlreadyParsedError("cannot register CLI option")
2021-06-22 19:41:29.303221 ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

Nilima Chavan (nilimac)
tags: added: openstack-train
Nilima Chavan (nilimac)
tags: added: keystone
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.