Issue with Keystone LDAP Multidomain: "Add LDAP domains" tasks are skipped despite valid config
Hi everyone,
I am encountering an issue configuring a specific domain (testbed) backed by LDAP in Keystone using OpenStack-Ansible. Despite defining the keystone_
Environment:
OpenStack-
OS: Ubuntu 24.04 (LXC Containers)
Deployment: Standard OSA containers
Configuration (/etc/openstack
# Multi-domain support
horizon_
keystone_
keystone_
keystone_
# Overrides
keystone_
identity:
domain_
domain_
domain_
# LDAP Domain Definition
keystone_
- name: testbed
conf:
identity:
driver: ldap
ldap:
url: "ldaps:
user: "uid=bind_
password: "****************"
suffix: "dc=example,dc=org"
The Issue: When I run the playbook with: openstack-ansible os-keystone-
Ansible skips the relevant tasks:
TASK [os_keystone : Add LDAP domains] *******
skipping: [infra1-
TASK [os_keystone : Create Keystone LDAP domain configs] *******
skipping: [infra1-
Troubleshooting Steps Taken:
Variable Verification: I verified that the variable is correctly loaded by Ansible using the debug module: ansible infra1-
Permissions: I manually verified that the directory /etc/keystone/
Manual Workaround: If I manually create the /etc/keystone/
It seems like the logic determining whether to run the LDAP tasks is evaluating to False even though the variable is defined and populated.
Has anyone experienced this behavior or can point me to what specific condition causes the role to skip these tasks?
I also tried :
"keystone_
testbed: "...
without "-"
Thanks in advance for your help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Salvatore Aurnia
- Solved:
- Last query:
- Last reply:
