Score:0

How to integrate LDAP (Active Directory) with OpenStack Victoria

pe flag

I have deployed OpenStack using kolla-ansible

Now, I am trying to integrate Active Directory and I have followed below docs:

https://wiki.openstack.org/wiki/HowtoIntegrateKeystonewithAD

https://docs.openstack.org/openstack-ansible-os_keystone/victoria/configure-keystone.html#implementing-ldap-or-active-directory-backends

Unfortunately, I am unable to integrate them. I am not using the SSL certs.

==> keystone-apache-admin-error.log <==

mod_wsgi (pid=29): Failed to exec Python script file '/var/lib/kolla/venv/bin/keystone-wsgi-admin
mod_wsgi (pid=29): Exception occurred processing WSGI script '/var/lib/kolla/venv/bin/keystone-wsgi-admin'.
Traceback (most recent call last):
File "/var/lib/kolla/venv/bin/keystone-wsgi-admin", line 52, in <module>
application = initialize_public_application()
File "/var/lib/kolla/venv/lib/python3.6/site-packages/keystone/server/wsgi.py", line 24, in initialize_public_application
 name='', config_files=flask_core._get_config_files())
File "/var/lib/kolla/venv/lib/python3.6/site-packages/keystone/server/flask/core.py", line 157, in initialize_application
keystone.server.configure(config_files=config_files)
File "/var/lib/kolla/venv/lib/python3.6/site-packages/keystone/server/__init__.py", line 28, in configure
keystone.conf.configure()
File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_config/cfg.py", line 2333, in register_cli_opt
raise ArgsAlreadyParsedError("cannot register CLI option")
oslo_config.cfg.ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option

If someone has implemented it, please help me.

berndbausch avatar
us flag
I haven't, but rather than following the Wiki page or instructions for OpenStack-Ansible, why don't you use the official Keystone instructions? The latest I could find in my 2-minutes search were for [Rocky](https://docs.openstack.org/keystone/rocky/admin/identity-integrate-with-ldap.html), but I guess that is still valid in Victoria.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.