Description of problem: It's a 3-node keystone cluster behind haproxy and authenticating with LDAP. On a keystone client, when getting a token, sometimes it takes 14 seconds to complete, while sometimes it responded instantly. On keystone node 2, a large number of errors below were found, 2015-11-23 23:00:48.397 16694 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 10.202.165.18 (10.202.165.18 is the keystone node itself) 2015-11-23 22:43:25.467 16690 WARNING keystone.common.wsgi [-] Could not find token, 6b190422df984d25a8bc8074e15cc5a6. 2015-11-23 22:56:32.247 16698 WARNING keystone.common.wsgi [-] Could not find project, f0470f8c72254aac8ccefc84544a0eea. Under Keystone debug below errors can be observed and recurring continuously 2015-11-24 02:04:31.755 9065 DEBUG keystone.common.ldap.core [-] LDAP bind: dn=uid=713802ce461843cab2774611cdec05d8,ou=users,ou=serviceproviders,dc=cisco,dc=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:783 2015-11-24 02:04:31.756 9061 DEBUG keystone.notifications [-] CADF Event: {'typeURI': 'http://schemas.dmtf.org/cloud/audit/1.0/event', 'initiator': {'typeURI': 'service/security/account/user', 'host': {'agent': 'Apache-HttpClient/4.4.1 (Java/1.7.0_79)', 'address': '10.202.165.18'}, 'id': 'openstack:a1eac7d3-8fae-4d0f-aa81-c93a40626069', 'name': u'e4c25ac9172d40998026dd5655f75313'}, 'target': {'typeURI': 'service/security/account/user', 'id': 'openstack:c9c58519-2847-4090-8b26-69b32b2906d1'}, 'observer': {'typeURI': 'service/security', 'id': 'openstack:96941ab4-145d-4b6e-8f5d-7f9b746c861e'}, 'eventType': 'activity', 'eventTime': '2015-11-24T02:04:31.755733+0000', 'action': 'authenticate', 'outcome': 'failure', 'id': 'openstack:b0ce921c-6fc8-4780-accd-39ce3a50f844'} _send_audit_notification /usr/lib/python2.7/site-packages/keystone/notifications.py:289 2015-11-24 02:04:31.756 9061 WARNING keystone.common.wsgi [-] Authorization failed. Invalid user / password from 10.202.165.18 When taking node 2 out of the cluster, clients are able to get token properly. Version-Release number of selected component (if applicable): enstack-keystone-2014.1.4-1.el7ost -----------------sosreports uploaded------------ [collab-shell] https://gitlab.cee.redhat.com/gss-tools/collab-shell # ssh your_kerb.redhat.com # cd /cases/01543989 the following files have been downloaded and extracted on collab-shell: -------------------------------- soscleaner-keystone-001.tar.gz soscleaner-keystone-002.tar.gz --------------------------------
Issue resolved. Not a keystone issue. It's the problem with customer's LDAP server