yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #23793
[Bug 1381843] [NEW] keystone isn't compatible with python-ldap 2.4.* when enable paging
Public bug reported:
ubuntu 14.04 Icehouse
ERROR keystone.common.wsgi [-] 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
TRACE keystone.common.wsgi Traceback (most recent call last):
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 207, in __call__
TRACE keystone.common.wsgi result = method(context, **params)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/controllers.py", line 112, in get_users
TRACE keystone.common.wsgi user_list = self.identity_api.list_users()
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 47, in wrapper
TRACE keystone.common.wsgi return f(self, *args, **kwargs)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 189, in wrapper
TRACE keystone.common.wsgi return f(self, *args, **kwargs)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 328, in list_users
TRACE keystone.common.wsgi ref_list = driver.list_users(hints or driver_hints.Hints())
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 81, in list_users
TRACE keystone.common.wsgi return self.user.get_all_filtered()
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 245, in get_all_filtered
TRACE keystone.common.wsgi return [identity.filter_user(user) for user in self.get_all()]
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 786, in get_all
TRACE keystone.common.wsgi return super(EnabledEmuMixIn, self).get_all(ldap_filter)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 418, in get_all
TRACE keystone.common.wsgi for x in self._ldap_get_all(ldap_filter)]
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 394, in _ldap_get_all
TRACE keystone.common.wsgi self.attribute_mapping.values())
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 594, in search_s
TRACE keystone.common.wsgi res = self.paged_search_s(dn, scope, query, attrlist)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 618, in paged_search_s
TRACE keystone.common.wsgi controlType=ldap.LDAP_CONTROL_PAGE_OID,
TRACE keystone.common.wsgi AttributeError: 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1381843
Title:
keystone isn't compatible with python-ldap 2.4.* when enable paging
Status in OpenStack Identity (Keystone):
New
Bug description:
ubuntu 14.04 Icehouse
ERROR keystone.common.wsgi [-] 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
TRACE keystone.common.wsgi Traceback (most recent call last):
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 207, in __call__
TRACE keystone.common.wsgi result = method(context, **params)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/controllers.py", line 112, in get_users
TRACE keystone.common.wsgi user_list = self.identity_api.list_users()
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 47, in wrapper
TRACE keystone.common.wsgi return f(self, *args, **kwargs)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 189, in wrapper
TRACE keystone.common.wsgi return f(self, *args, **kwargs)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 328, in list_users
TRACE keystone.common.wsgi ref_list = driver.list_users(hints or driver_hints.Hints())
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 81, in list_users
TRACE keystone.common.wsgi return self.user.get_all_filtered()
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 245, in get_all_filtered
TRACE keystone.common.wsgi return [identity.filter_user(user) for user in self.get_all()]
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 786, in get_all
TRACE keystone.common.wsgi return super(EnabledEmuMixIn, self).get_all(ldap_filter)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 418, in get_all
TRACE keystone.common.wsgi for x in self._ldap_get_all(ldap_filter)]
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 394, in _ldap_get_all
TRACE keystone.common.wsgi self.attribute_mapping.values())
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 594, in search_s
TRACE keystone.common.wsgi res = self.paged_search_s(dn, scope, query, attrlist)
TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 618, in paged_search_s
TRACE keystone.common.wsgi controlType=ldap.LDAP_CONTROL_PAGE_OID,
TRACE keystone.common.wsgi AttributeError: 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1381843/+subscriptions
Follow ups
References