I'm getting the same exception as Jean-Sebastien Mouret. I'm using Icehouse, with page_size=100. Also, after taking away the page_size conf setting, now I can't login. Seems my admin user is no longer assigned to a project or role. Probably a result of the paging code failing, it automatically removed some reslationships.
I think this bug should be reopened.
Here is my ldap version.
root@controller01:~# dpkg --list |grep ldap
ii libaprutil1-ldap:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - LDAP Driver
ii libldap-2.4-2:amd64 2.4.31-1+nmu2ubuntu8 amd64 OpenLDAP libraries
ii python-ldap 2.4.10-1build1 amd64 LDAP interface module for Python
Traceback:
2015-01-29 02:47:49.528 14775 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/dist-packages/keystone/common/ldap/cor
e.py:789
2015-01-29 02:47:49.529 14775 ERROR keystone.common.wsgi [-] 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi Traceback (most recent call last):
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 212, in __call_
_
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi result = method(context, **params)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/auth/controllers.py", line 326, in au
thenticate_for_token
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi self._check_and_set_default_scoping(auth_info, auth_context)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/auth/controllers.py", line 364, in _c
heck_and_set_default_scoping
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi user_ref = self.identity_api.get_user(auth_context['user_id'])
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 189, in wrapp
er
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi return f(self, *args, **kwargs)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/core.py", line 307, in get_u
ser
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi ref = driver.get_user(user_id)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 78,
in get_user
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi return identity.filter_user(self._get_user(user_id))
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/ldap.py", line 75,
in _get_user
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi return self.user.get(user_id)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 1006, in g
et
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi ref = super(EnabledEmuMixIn, self).get(object_id, ldap_filter)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 621, in ge
t
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi res = self._ldap_get(object_id, ldap_filter)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 593, in _l
dap_get
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi res = conn.search_s(self.tree_dn, self.LDAP_SCOPE, query, attrs)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 821, in se
arch_s
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi ldap_result = self.paged_search_s(dn, scope, query, attrlist)
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi File "/usr/lib/python2.7/dist-packages/keystone/common/ldap/core.py", line 839, in pa
ged_search_s
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi controlType=ldap.LDAP_CONTROL_PAGE_OID,
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi AttributeError: 'module' object has no attribute 'LDAP_CONTROL_PAGE_OID'
2015-01-29 02:47:49.529 14775 TRACE keystone.common.wsgi
2015-01-29 02:47:49.531 14775 INFO eventlet.wsgi.server [-] 10.146.29.205,10.146.29.211 - - [29/Jan/2015 02:47:49] "POST /v3/auth/tokens HTTP/1.
1" 500 391 0.220200
2015-01-29 02:48:08.641 14775 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_requ
est /usr/lib/python2.7/dist-packages/keystone/middleware/core.py:271
I'm getting the same exception as Jean-Sebastien Mouret. I'm using Icehouse, with page_size=100. Also, after taking away the page_size conf setting, now I can't login. Seems my admin user is no longer assigned to a project or role. Probably a result of the paging code failing, it automatically removed some reslationships.
I think this bug should be reopened.
Here is my ldap version.
root@controller 01:~# dpkg --list |grep ldap ldap:amd64 1.5.3-1 amd64 Apache Portable Runtime Utility Library - LDAP Driver 1+nmu2ubuntu8 amd64 OpenLDAP libraries
ii libaprutil1-
ii libldap-2.4-2:amd64 2.4.31-
ii python-ldap 2.4.10-1build1 amd64 LDAP interface module for Python
Traceback:
2015-01-29 02:47:49.528 14775 DEBUG keystone. common. ldap.core [-] LDAP unbind unbind_s /usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/cor common. wsgi [-] 'module' object has no attribute 'LDAP_CONTROL_ PAGE_OID' common. wsgi Traceback (most recent call last): common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ wsgi.py" , line 212, in __call_ common. wsgi result = method(context, **params) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ auth/controller s.py", line 326, in au for_token common. wsgi self._check_ and_set_ default_ scoping( auth_info, auth_context) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ auth/controller s.py", line 364, in _c set_default_ scoping common. wsgi user_ref = self.identity_ api.get_ user(auth_ context[ 'user_id' ]) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ identity/ core.py" , line 189, in wrapp common. wsgi return f(self, *args, **kwargs) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ identity/ core.py" , line 307, in get_u common. wsgi ref = driver. get_user( user_id) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ identity/ backends/ ldap.py" , line 78, common. wsgi return identity. filter_ user(self. _get_user( user_id) ) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ identity/ backends/ ldap.py" , line 75, common. wsgi return self.user. get(user_ id) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/core. py", line 1006, in g common. wsgi ref = super(EnabledEm uMixIn, self).get( object_ id, ldap_filter) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/core. py", line 621, in ge common. wsgi res = self._ldap_ get(object_ id, ldap_filter) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/core. py", line 593, in _l common. wsgi res = conn.search_ s(self. tree_dn, self.LDAP_SCOPE, query, attrs) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/core. py", line 821, in se common. wsgi ldap_result = self.paged_ search_ s(dn, scope, query, attrlist) common. wsgi File "/usr/lib/ python2. 7/dist- packages/ keystone/ common/ ldap/core. py", line 839, in pa common. wsgi controlType= ldap.LDAP_ CONTROL_ PAGE_OID, common. wsgi AttributeError: 'module' object has no attribute 'LDAP_CONTROL_ PAGE_OID' common. wsgi wsgi.server [-] 10.146. 29.205, 10.146. 29.211 - - [29/Jan/2015 02:47:49] "POST /v3/auth/tokens HTTP/1. middleware. core [-] Auth token not in the request header. Will not build auth context. process_requ python2. 7/dist- packages/ keystone/ middleware/ core.py: 271
e.py:789
2015-01-29 02:47:49.529 14775 ERROR keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
_
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
thenticate_
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
heck_and_
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
er
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
ser
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
in get_user
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
in _get_user
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
et
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
t
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
dap_get
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
arch_s
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
ged_search_s
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.529 14775 TRACE keystone.
2015-01-29 02:47:49.531 14775 INFO eventlet.
1" 500 391 0.220200
2015-01-29 02:48:08.641 14775 DEBUG keystone.
est /usr/lib/