From: sousaedu Date: Thu, 7 Oct 2021 13:18:51 +0000 (+0100) Subject: Fixing LDAP variable convertion for secret population X-Git-Tag: release-v11.0-start~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F11240%2F1;p=osm%2Fdevops.git Fixing LDAP variable convertion for secret population Change-Id: Ifd3371a6e456d4dd56df4f40b75e0bc441418617 Signed-off-by: sousaedu --- diff --git a/installers/charm/keystone/src/charm.py b/installers/charm/keystone/src/charm.py index 4560ff52..cb5c88c5 100755 --- a/installers/charm/keystone/src/charm.py +++ b/installers/charm/keystone/src/charm.py @@ -372,12 +372,12 @@ class KeystoneCharm(CharmedOsmBase): ldap_secrets = { "authentication_domain_name": config_ldap.ldap_authentication_domain_name, "url": config_ldap.ldap_url, - "page_size": config_ldap.ldap_page_size, + "page_size": str(config_ldap.ldap_page_size), "user_objectclass": config_ldap.ldap_user_objectclass, "user_id_attribute": config_ldap.ldap_user_id_attribute, "user_name_attribute": config_ldap.ldap_user_name_attribute, "user_pass_attribute": config_ldap.ldap_user_pass_attribute, - "user_enabled_mask": config_ldap.ldap_user_enabled_mask, + "user_enabled_mask": str(config_ldap.ldap_user_enabled_mask), "user_enabled_default": config_ldap.ldap_user_enabled_default, "user_enabled_invert": config_ldap.ldap_user_enabled_invert, "group_objectclass": config_ldap.ldap_group_objectclass,