Description of problem (from Ceph tracker issues): """ The default configuration for rgw_ldap_secret seems to be set to /etc/openldap/secret, which on my system is empty: ceph-conf -D | grep ldap rgw_ldap_binddn = uid=admin,cn=users,dc=example,dc=com rgw_ldap_dnattr = uid rgw_ldap_searchdn = cn=users,cn=accounts,dc=example,dc=com rgw_ldap_searchfilter = rgw_ldap_secret = /etc/openldap/secret rgw_ldap_uri = ldaps://<ldap.your.domain> rgw_s3_auth_use_ldap = false cat /etc/openldap/secret cat: /etc/openldap/secret: No such file or directory The code assumes that if it is set, the named file has content. Since it doesn’t, safe_read_file() asserts. I set it to nothing (rgw_ldap_secret = ) in my configuration, and everything seems happy. """
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0475