Character $ is not escaped in the ldap-password

Bug #2049200 reported by Bartosz Woronicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Keystone LDAP integration
Triaged
Medium
Unassigned

Bug Description

So, it seems like the charm is not escaping the $ character in the config which is actually required here

You may get an error like this

/var/log/apache2/keystone_error.log
...
2024-01-12 13:00:11.289915 oslo_config.cfg.NoSuchOptError: no such option s in group [DEFAULT]

because it tries to interpret the part of password

The $ should be escape with \$ or $$

Reference:
https://docs.openstack.org/oslo.config/yoga/configuration/format.html#substitution

Workaround: fix it in the password.

summary: - $ is not escaped in the ldap-password
+ Character $ is not escaped in the ldap-password
description: updated
description: updated
Revision history for this message
Felipe Reyes (freyes) wrote :

Setting importance to "medium" since there is a workaround.

Changed in charm-keystone-ldap:
status: New → Triaged
importance: Undecided → Medium
tags: added: good-first-bug
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

Apparently that bug was reported before. So the fix should indicate closing of both
https://launchpad.net/bugs/1688196

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.