Bug 1381334 - Keystone LDAP pagination with specified "page_size" fails
Summary: Keystone LDAP pagination with specified "page_size" fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-ldap
Version: 7.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 7.1
Assignee: Christian Heimes
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1298243 1420851
TreeView+ depends on / blocked
 
Reported: 2016-10-03 18:00 UTC by Aaron Thomas
Modified: 2020-12-15 07:46 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:46:46 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1381768 0 None None None 2016-10-03 18:00:27 UTC

Description Aaron Thomas 2016-10-03 18:00:28 UTC
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 3 RHEL 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.


Note You need to log in before you can comment on or make changes to this bug.