Stein: Cannot list users or groups after setting domain context

Bug #1837104 reported by David Coronel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Keystone LDAP integration
New
Undecided
Unassigned

Bug Description

Using an LDAP domain in bionic-stein, within horizon we are unable to see the users, groups or projects after selecting the LDAP domain as the domain context.

The 'openstack [user|group|project] list --domain <domain name>' commands work and return the expected output. Only the listing via Horizon fails.

This is using keystone 2:15.0.0-0ubuntu1~cloud0 the stein cloud archive on bionic.

We also tried the keystone 2:15.0.0-0ubuntu1.1~ubuntu18.04.1~ppa201907121531 build from James' PPA for the LP bug https://bugs.launchpad.net/charm-keystone-ldap/+bug/1832265. That build allowed us to see the projects listed in the project selection drop-down, but we still cannot list the users, groups or projects after setting the domain context in horizon.

Charm configuration:

  keystone-ldap:
    charm: cs:keystone-ldap
    options:
      ldap-server: ldaps://<ldap host>
      ldap-user: "uid=<user>,ou=<path>,o=<path>,o=<path>"
      ldap-password: <password>
      ldap-suffix: "ou=<path>,o=<path>,o=<path>"
      debug: false
      domain-name: <domain>
      ldap-readonly: true
      use-internal-endpoints: True
      ldap-config-flags: "{
        query_scope: sub,
        user_tree_dn: 'ou=<path>,o=<path>,o=<path>,
        user_filter: '(memberOf=cn=<group>*,cn=<path>,ou=<path>,o=<path>,o=<path>)',
        user_name_attribute: uid,
        user_id_attribute: uid,
        user_objectclass: person,
        user_mail_attribute: mail,
        group_member_are_ids: False,
        group_tree_dn: 'cn=<path>,ou=<path>,o=<path>,o=<path>',
        group_filter: '(cn=<group>*)',
        group_objectclass: groupOfUniqueNames,
        group_id_attribute: cn,
        group_name_attribute: cn,
        group_member_attribute: uniqueMember
      }"

Will upload sanitised logs.

Revision history for this message
David Coronel (davecore) wrote :

subscribed ~field-high

Revision history for this message
David Coronel (davecore) wrote :

Canonical internal link for logs: https://pastebin.canonical.com/p/M4MrY4csHb/

Revision history for this message
David Ames (thedac) wrote :

I believe this is related to or a duplicate of LP Bug#1830782 which Alex Kavanagh is working on. I will confirm with him.

https://bugs.launchpad.net/charm-keystone/+bug/1830782

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :
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.