Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
-----------------------------------------
The API for using the LDAP simple paged results control changed
between python-ldap version 2.3 and 2.4. Our current implementation
fails with an AttributeError when trying to use paging with version
2.4 of python-ldap.
Cisco is experiencing this issue in their OpenStack OSP-5 on rhel 7 (Icehouse) environment on RHEL 7.1 that we are currently in a partnership. I've looked through the source / change logs and it doesn't appear the commits outlined below have been backported to 7.1 through 7.3.
Upstream bug #1381768 that is resolved by the commit below:
AttributeError: 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID' with python-ldap 2.4
-----------------------------------------
https://bugs.launchpad.net/keystone/+bug/1381768
Commit that fixes bug #1381768:
Use newer python-ldap paging control API
-----------------------------------------
https://review.openstack.org/gitweb?p=openstack/keystone.git;a=commit;h=cbbd616f4d46277d231f74e699e2d547a492610e
Version-Release number of selected component (if applicable):
-----------------------------------------
python-ldap-2.4.15-2.el7.x86_64
How reproducible:
-----------------------------------------
100% in Cisco's environment
Steps to Reproduce:
1. Set page_size keystone.conf to a non-zero value
Actual results:
-----------------------------------------
Keystone LDAP pagination with specified "page_size" fails
Expected results:
-----------------------------------------
Keystone LDAP queries return paginated results
Additional info:
-----------------------------------------
Support case attached to BZ
Comment 3RHEL Program Management
2020-12-15 07:46:46 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.