Skip to content

Instantly share code, notes, and snippets.

Created June 17, 2015 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d978cd3a764dedfc2465 to your computer and use it in GitHub Desktop.
Save anonymous/d978cd3a764dedfc2465 to your computer and use it in GitHub Desktop.
####Openstack Keystone Juno (openstack-keystone-2014.2.2-1.el7.noarch)
# LDAP Implementation
2015-06-17 13:28:33.611 10701 DEBUG keystone.common.ldap.core [-] LDAP bind: who=uid=swiftstg1,cn=keystone,ou=Applications,o=xxxxx.com,o=SDS simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
# AD Implementation
2015-06-17 13:39:30.816 10782 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=Unknown Name,OU=Users,OU=XXX,OU=Sites,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
# Seeing this error with the AD implementation
Authorization Failed: An unexpected error prevented the server from fulfilling your request: {'info': 'Referral:\nldap://xxxxx.com/ou=UserGroups,DC=xxxxx,DC=com', 'desc': 'Referral'} (Disable debug mode to suppress these details.) (HTTP 500)
# Openstack Juno Keystone AD implementation Logs
2015-06-17 14:14:17.069 10945 DEBUG keystone.middleware.core [-] Auth token not in the request header. Will not build auth context. process_request /usr/lib/python2.7/site-packages/keystone/middleware/core.py:270
2015-06-17 14:14:17.095 10945 DEBUG keystone.common.wsgi [-] arg_dict: {} __call__ /usr/lib/python2.7/site-packages/keystone/common/wsgi.py:191
2015-06-17 14:14:17.097 10945 DEBUG keystone.common.ldap.core [-] LDAP init: url=ldap://adstg.xxxxx.com:3268 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:582
2015-06-17 14:14:17.097 10945 DEBUG keystone.common.ldap.core [-] LDAP init: use_tls=False tls_cacertfile=None tls_cacertdir=None tls_req_cert=2 tls_avail=1 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:586
2015-06-17 14:14:17.098 10945 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=OpenstackKeystone,OU=Service Accounts,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
2015-06-17 14:14:17.105 10945 DEBUG keystone.common.ldap.core [-] LDAP search: base=DC=adstg,DC=xxxxx,DC=com scope=2 filterstr=(&(sAMAccountName=433438)(objectClass=organizationalPerson)) attrs=['mail', 'userPassword', 'userAccountControl', 'sAMAccountName'] attrsonly=0 search_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:937
2015-06-17 14:14:17.108 10945 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:910
2015-06-17 14:14:17.108 10945 DEBUG keystone.identity.core [-] ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: False, Compatible IDs: True _set_domain_id_and_mapping /usr/lib/python2.7/site-packages/keystone/identity/core.py:321
2015-06-17 14:14:17.108 10945 DEBUG keystone.identity.core [-] Local ID: 433438 _set_domain_id_and_mapping_for_single_ref /usr/lib/python2.7/site-packages/keystone/identity/core.py:339
2015-06-17 14:14:17.109 10945 DEBUG keystone.common.ldap.core [-] LDAP init: url=ldap://adstg.xxxxx.com:3268 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:582
2015-06-17 14:14:17.110 10945 DEBUG keystone.common.ldap.core [-] LDAP init: use_tls=False tls_cacertfile=None tls_cacertdir=None tls_req_cert=2 tls_avail=1 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:586
2015-06-17 14:14:17.110 10945 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=OpenstackKeystone,OU=Service Accounts,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
2015-06-17 14:14:17.557 10945 DEBUG keystone.common.ldap.core [-] LDAP search: base=DC=adstg,DC=xxxxx,DC=com scope=2 filterstr=(&(sAMAccountName=433438)(memberof=CN=swiftusers,OU=Groups,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com)(objectClass=organizationalPerson)) attrs=['mail', 'userPassword', 'userAccountControl', 'sAMAccountName'] attrsonly=0 search_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:937
2015-06-17 14:14:17.785 10945 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:910
2015-06-17 14:14:17.786 10945 DEBUG keystone.common.ldap.core [-] LDAP init: url=ldap://adstg.xxxxx.com:3268 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:582
2015-06-17 14:14:17.786 10945 DEBUG keystone.common.ldap.core [-] LDAP init: use_tls=False tls_cacertfile=None tls_cacertdir=None tls_req_cert=2 tls_avail=1 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:586
2015-06-17 14:14:17.786 10945 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=Unknown Name,OU=Users,OU=XXX,OU=Sites,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
2015-06-17 14:14:17.792 10945 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:910
2015-06-17 14:14:17.792 10945 DEBUG keystone.identity.core [-] ID Mapping - Domain ID: default, Default Driver: True, Domains: False, UUIDs: False, Compatible IDs: True _set_domain_id_and_mapping /usr/lib/python2.7/site-packages/keystone/identity/core.py:321
2015-06-17 14:14:17.792 10945 DEBUG keystone.identity.core [-] Local ID: 433438 _set_domain_id_and_mapping_for_single_ref /usr/lib/python2.7/site-packages/keystone/identity/core.py:339
2015-06-17 14:14:17.838 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.840 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.841 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.841 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.84 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.841 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.842 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.842 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.842 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.843 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.84 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.843 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.872 10945 DEBUG oslo.db.sqlalchemy.session [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _check_effective_sql_mode /usr/lib/python2.7/site-packages/oslo/db/sqlalchemy/session.py:482
2015-06-17 14:14:17.897 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.897 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.898 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.898 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.9 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.898 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.898 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.899 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.899 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.899 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.9 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.900 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.903 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.903 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.904 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.904 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.9 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.904 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.904 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquiring connection _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.905 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Acquired connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.905 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Releasing connection 64108432 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.905 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: Marked host localhost:11211 dead until 1434568757.91 _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.906 10945 DEBUG keystone.common.cache._memcache_pool [-] Memcached pool 49983632, thread 140589840381760: All hosts are dead. Marking them as live. _debug_logger /usr/lib/python2.7/site-packages/keystone/common/cache/_memcache_pool.py:91
2015-06-17 14:14:17.915 10945 DEBUG keystone.common.ldap.core [-] LDAP init: url=ldap://adstg.xxxxx.com:3268 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:582
2015-06-17 14:14:17.915 10945 DEBUG keystone.common.ldap.core [-] LDAP init: use_tls=False tls_cacertfile=None tls_cacertdir=None tls_req_cert=2 tls_avail=1 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:586
2015-06-17 14:14:17.915 10945 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=OpenstackKeystone,OU=Service Accounts,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
2015-06-17 14:14:18.560 10945 DEBUG keystone.common.ldap.core [-] LDAP search: base=DC=adstg,DC=xxxxx,DC=com scope=2 filterstr=(&(sAMAccountName=433438)(memberof=CN=swiftusers,OU=Groups,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com)(objectClass=organizationalPerson)) attrs=['mail', 'userPassword', 'userAccountControl', 'sAMAccountName'] attrsonly=0 search_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:937
2015-06-17 14:14:18.788 10945 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:910
2015-06-17 14:14:18.788 10945 DEBUG keystone.common.ldap.core [-] LDAP init: url=ldap://adstg.xxxxx.com:3268 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:582
2015-06-17 14:14:18.789 10945 DEBUG keystone.common.ldap.core [-] LDAP init: use_tls=False tls_cacertfile=None tls_cacertdir=None tls_req_cert=2 tls_avail=1 _common_ldap_initialization /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:586
2015-06-17 14:14:18.789 10945 DEBUG keystone.common.ldap.core [-] LDAP bind: who=CN=OpenstackKeystone,OU=Service Accounts,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com simple_bind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:902
2015-06-17 14:14:18.796 10945 DEBUG keystone.common.ldap.core [-] LDAP search: base=ou=UserGroups,DC=xxxxx,DC=com scope=2 filterstr=(&(&(objectClass=groupOfNames)(member=CN=Unknown Name,OU=Users,OU=XXX,OU=Sites,DC=adstg,DC=xxxxx,DC=com))(objectClass=groupOfNames)) attrs=['ou', 'cn', 'description'] attrsonly=0 search_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:937
2015-06-17 14:14:18.797 10945 DEBUG keystone.common.ldap.core [-] LDAP unbind unbind_s /usr/lib/python2.7/site-packages/keystone/common/ldap/core.py:910
2015-06-17 14:14:18.798 10945 ERROR keystone.common.wsgi [-] {'info': 'Referral:\nldap://xxxxx.com/ou=UserGroups,DC=xxxxx,DC=com', 'desc': 'Referral'}
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi Traceback (most recent call last):
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 223, in __call__
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi result = method(context, **params)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 100, in authenticate
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi context, auth)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 303, in _authenticate_local
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi user_id, tenant_id)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/token/controllers.py", line 386, in _get_project_roles_and_ref
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi user_id, tenant_id)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/assignment/core.py", line 202, in get_roles_for_user_and_project
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi group_role_list = _get_group_project_roles(user_id, project_ref)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/assignment/core.py", line 172, in _get_group_project_roles
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi group_ids = self._get_group_ids_for_user_id(user_id)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/assignment/core.py", line 80, in _get_group_ids_for_user_id
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi x in self.identity_api.list_groups_for_user(user_id)]
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/manager.py", line 47, in wrapper
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return f(self, *args, **kwargs)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/core.py", line 202, in wrapper
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return f(self, *args, **kwargs)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/core.py", line 213, in wrapper
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return f(self, *args, **kwargs)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/core.py", line 784, in list_groups_for_user
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi ref_list = driver.list_groups_for_user(entity_id, hints)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/backends/ldap.py", line 156, in list_groups_for_user
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return self.group.list_user_groups_filtered(user_dn)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/backends/ldap.py", line 367, in list_user_groups_filtered
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return self.get_all_filtered(query)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/identity/backends/ldap.py", line 395, in get_all_filtered
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi for group in self.get_all(query)]
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/ldap/core.py", line 1512, in get_all
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi for x in self._ldap_get_all(ldap_filter)]
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/ldap/core.py", line 1474, in _ldap_get_all
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi attrs)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/ldap/core.py", line 950, in search_s
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi attrlist_utf8, attrsonly)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib/python2.7/site-packages/keystone/common/ldap/core.py", line 547, in search_s
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi attrlist, attrsonly)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 552, in search_s
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 546, in search_ext_s
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi return self.result(msgid,all=1,timeout=timeout)[1]
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 458, in result
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 462, in result2
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 469, in result3
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi resp_ctrl_classes=resp_ctrl_classes
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 476, in result4
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi File "/usr/lib64/python2.7/site-packages/ldap/ldapobject.py", line 99, in _ldap_call
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi result = func(*args,**kwargs)
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi REFERRAL: {'info': 'Referral:\nldap://xxxxx.com/ou=UserGroups,DC=xxxxx,DC=com', 'desc': 'Referral'}
2015-06-17 14:14:18.798 10945 TRACE keystone.common.wsgi
2015-06-17 14:14:18.803 10945 INFO eventlet.wsgi.server [-] xxx.xxx.xxx.xxx - - [17/Jun/2015 14:14:18] "POST /v2.0/tokens HTTP/1.1" 500 434 1.735667
# Openstack Juno Keystone.conf AD Implementation
[DEFAULT]
#
# Options defined in keystone
#
# A "shared secret" that can be used to bootstrap Keystone.
# This "token" does not represent a user, and carries no
# explicit authorization. To disable in production (highly
# recommended), remove AdminTokenAuthMiddleware from your
# paste application pipelines (for example, in keystone-
# paste.ini). (string value)
#admin_token=ADMIN
# The IP address of the network interface for the public
# service to listen on. (string value)
# Deprecated group/name - [DEFAULT]/bind_host
#public_bind_host=0.0.0.0
# The IP address of the network interface for the admin
# service to listen on. (string value)
# Deprecated group/name - [DEFAULT]/bind_host
#admin_bind_host=0.0.0.0
# (Deprecated) The port which the OpenStack Compute service
# listens on. This option was only used for string replacement
# in the templated catalog backend. Templated catalogs should
# replace the "$(compute_port)s" substitution with the static
# port of the compute service. As of Juno, this option is
# deprecated and will be removed in the L release. (integer
# value)
#compute_port=8774
# The port number which the admin service listens on. (integer
# value)
#admin_port=35357
# The port number which the public service listens on.
# (integer value)
#public_port=5000
# The base public endpoint URL for Keystone that is advertised
# to clients (NOTE: this does NOT affect how Keystone listens
# for connections). Defaults to the base host URL of the
# request. E.g. a request to http://server:5000/v2.0/users
# will default to http://server:5000. You should only need to
# set this value if the base URL contains a path (e.g.
# /prefix/v2.0) or the endpoint should be found on a different
# server. (string value)
#public_endpoint=<None>
# The base admin endpoint URL for Keystone that is advertised
# to clients (NOTE: this does NOT affect how Keystone listens
# for connections). Defaults to the base host URL of the
# request. E.g. a request to http://server:35357/v2.0/users
# will default to http://server:35357. You should only need to
# set this value if the base URL contains a path (e.g.
# /prefix/v2.0) or the endpoint should be found on a different
# server. (string value)
#admin_endpoint=<None>
# The number of worker processes to serve the public WSGI
# application. Defaults to number of CPUs (minimum of 2).
# (integer value)
#public_workers=<None>
# The number of worker processes to serve the admin WSGI
# application. Defaults to number of CPUs (minimum of 2).
# (integer value)
#admin_workers=<None>
# Enforced by optional sizelimit middleware
# (keystone.middleware:RequestBodySizeLimiter). (integer
# value)
#max_request_body_size=114688
# Limit the sizes of user & project ID/names. (integer value)
#max_param_size=64
# Similar to max_param_size, but provides an exception for
# token values. (integer value)
#max_token_size=8192
# During a SQL upgrade member_role_id will be used to create a
# new role that will replace records in the assignment table
# with explicit role grants. After migration, the
# member_role_id will be used in the API add_user_to_project.
# (string value)
#member_role_id=9fe2ff9ee4384b1894a90878d3e92bab
# During a SQL upgrade member_role_name will be used to create
# a new role that will replace records in the assignment table
# with explicit role grants. After migration, member_role_name
# will be ignored. (string value)
#member_role_name=_member_
# The value passed as the keyword "rounds" to passlib's
# encrypt method. (integer value)
#crypt_strength=40000
# Set this to true if you want to enable TCP_KEEPALIVE on
# server sockets, i.e. sockets used by the Keystone wsgi
# server for client connections. (boolean value)
#tcp_keepalive=false
# Sets the value of TCP_KEEPIDLE in seconds for each server
# socket. Only applies if tcp_keepalive is true. Not supported
# on OS X. (integer value)
#tcp_keepidle=600
# The maximum number of entities that will be returned in a
# collection, with no limit set by default. This global limit
# may be then overridden for a specific driver, by specifying
# a list_limit in the appropriate section (e.g. [assignment]).
# (integer value)
#list_limit=<None>
# Set this to false if you want to enable the ability for
# user, group and project entities to be moved between domains
# by updating their domain_id. Allowing such movement is not
# recommended if the scope of a domain admin is being
# restricted by use of an appropriate policy file (see
# policy.v3cloudsample as an example). (boolean value)
#domain_id_immutable=true
# If set to true, strict password length checking is performed
# for password manipulation. If a password exceeds the maximum
# length, the operation will fail with an HTTP 403 Forbidden
# error. If set to false, passwords are automatically
# truncated to the maximum length. (boolean value)
#strict_password_check=false
#
# Options defined in oslo.messaging
#
# Use durable queues in amqp. (boolean value)
# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
#amqp_durable_queues=false
# Auto-delete queues in amqp. (boolean value)
#amqp_auto_delete=false
# Size of RPC connection pool. (integer value)
#rpc_conn_pool_size=30
# Qpid broker hostname. (string value)
#qpid_hostname=localhost
# Qpid broker port. (integer value)
#qpid_port=5672
# Qpid HA cluster host:port pairs. (list value)
#qpid_hosts=$qpid_hostname:$qpid_port
# Username for Qpid connection. (string value)
#qpid_username=
# Password for Qpid connection. (string value)
#qpid_password=
# Space separated list of SASL mechanisms to use for auth.
# (string value)
#qpid_sasl_mechanisms=
# Seconds between connection keepalive heartbeats. (integer
# value)
#qpid_heartbeat=60
# Transport to use, either 'tcp' or 'ssl'. (string value)
#qpid_protocol=tcp
# Whether to disable the Nagle algorithm. (boolean value)
#qpid_tcp_nodelay=true
# The number of prefetched messages held by receiver. (integer
# value)
#qpid_receiver_capacity=1
# The qpid topology version to use. Version 1 is what was
# originally used by impl_qpid. Version 2 includes some
# backwards-incompatible changes that allow broker federation
# to work. Users should update to version 2 when they are
# able to take everything down, as it requires a clean break.
# (integer value)
#qpid_topology_version=1
# SSL version to use (valid only if SSL enabled). valid values
# are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some
# distributions. (string value)
#kombu_ssl_version=
# SSL key file (valid only if SSL enabled). (string value)
#kombu_ssl_keyfile=
# SSL cert file (valid only if SSL enabled). (string value)
#kombu_ssl_certfile=
# SSL certification authority file (valid only if SSL
# enabled). (string value)
#kombu_ssl_ca_certs=
# How long to wait before reconnecting in response to an AMQP
# consumer cancel notification. (floating point value)
#kombu_reconnect_delay=1.0
# The RabbitMQ broker address where a single node is used.
# (string value)
#rabbit_host=localhost
# The RabbitMQ broker port where a single node is used.
# (integer value)
#rabbit_port=5672
# RabbitMQ HA cluster host:port pairs. (list value)
#rabbit_hosts=$rabbit_host:$rabbit_port
# Connect over SSL for RabbitMQ. (boolean value)
#rabbit_use_ssl=false
# The RabbitMQ userid. (string value)
#rabbit_userid=guest
# The RabbitMQ password. (string value)
#rabbit_password=guest
# the RabbitMQ login method (string value)
#rabbit_login_method=AMQPLAIN
# The RabbitMQ virtual host. (string value)
#rabbit_virtual_host=/
# How frequently to retry connecting with RabbitMQ. (integer
# value)
#rabbit_retry_interval=1
# How long to backoff for between retries when connecting to
# RabbitMQ. (integer value)
#rabbit_retry_backoff=2
# Maximum number of RabbitMQ connection retries. Default is 0
# (infinite retry count). (integer value)
#rabbit_max_retries=0
# Use HA queues in RabbitMQ (x-ha-policy: all). If you change
# this option, you must wipe the RabbitMQ database. (boolean
# value)
#rabbit_ha_queues=false
# If passed, use a fake RabbitMQ provider. (boolean value)
#fake_rabbit=false
# ZeroMQ bind address. Should be a wildcard (*), an ethernet
# interface, or IP. The "host" option should point or resolve
# to this address. (string value)
#rpc_zmq_bind_address=*
# MatchMaker driver. (string value)
#rpc_zmq_matchmaker=oslo.messaging._drivers.matchmaker.MatchMakerLocalhost
# ZeroMQ receiver listening port. (integer value)
#rpc_zmq_port=9501
# Number of ZeroMQ contexts, defaults to 1. (integer value)
#rpc_zmq_contexts=1
# Maximum number of ingress messages to locally buffer per
# topic. Default is unlimited. (integer value)
#rpc_zmq_topic_backlog=<None>
# Directory for holding IPC sockets. (string value)
#rpc_zmq_ipc_dir=/var/run/openstack
# Name of this node. Must be a valid hostname, FQDN, or IP
# address. Must match "host" option, if running Nova. (string
# value)
#rpc_zmq_host=keystone
# Seconds to wait before a cast expires (TTL). Only supported
# by impl_zmq. (integer value)
#rpc_cast_timeout=30
# Heartbeat frequency. (integer value)
#matchmaker_heartbeat_freq=300
# Heartbeat time-to-live. (integer value)
#matchmaker_heartbeat_ttl=600
# Size of RPC greenthread pool. (integer value)
#rpc_thread_pool_size=64
# Driver or drivers to handle sending notifications. (multi
# valued)
#notification_driver=
# AMQP topic used for OpenStack notifications. (list value)
# Deprecated group/name - [rpc_notifier2]/topics
#notification_topics=notifications
# Seconds to wait for a response from a call. (integer value)
#rpc_response_timeout=60
# A URL representing the messaging driver to use and its full
# configuration. If not set, we fall back to the rpc_backend
# option and driver specific configuration. (string value)
#transport_url=<None>
# The messaging driver to use, defaults to rabbit. Other
# drivers include qpid and zmq. (string value)
#rpc_backend=rabbit
# The default exchange under which topics are scoped. May be
# overridden by an exchange name specified in the
# transport_url option. (string value)
#control_exchange=keystone
#
# Options defined in keystone.notifications
#
# Default publisher_id for outgoing notifications (string
# value)
#default_publisher_id=<None>
#
# Options defined in keystone.openstack.common.eventlet_backdoor
#
# Enable eventlet backdoor. Acceptable values are 0, <port>,
# and <start>:<end>, where 0 results in listening on a random
# tcp port number; <port> results in listening on the
# specified port number (and not enabling backdoor if that
# port is in use); and <start>:<end> results in listening on
# the smallest unused port number within the specified range
# of port numbers. The chosen port is displayed in the
# service's log file. (string value)
#backdoor_port=<None>
#
# Options defined in keystone.openstack.common.log
#
# Print debugging output (set logging level to DEBUG instead
# of default WARNING level). (boolean value)
#debug=false
debug=true
# Print more verbose output (set logging level to INFO instead
# of default WARNING level). (boolean value)
#verbose=false
verbose=true
# Log output to standard error. (boolean value)
#use_stderr=false
# Format string to use for log messages with context. (string
# value)
#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
# Format string to use for log messages without context.
# (string value)
#logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
# Data to append to log format when level is DEBUG. (string
# value)
#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
# Prefix each line of exception output with this format.
# (string value)
#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
# List of logger=LEVEL pairs. (list value)
#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN
# Enables or disables publication of error events. (boolean
# value)
#publish_errors=false
# Enables or disables fatal status of deprecations. (boolean
# value)
#fatal_deprecations=false
# The format for an instance that is passed with the log
# message. (string value)
#instance_format="[instance: %(uuid)s] "
# The format for an instance UUID that is passed with the log
# message. (string value)
#instance_uuid_format="[instance: %(uuid)s] "
# The name of a logging configuration file. This file is
# appended to any existing logging configuration files. For
# details about logging configuration files, see the Python
# logging module documentation. (string value)
# Deprecated group/name - [DEFAULT]/log_config
#log_config_append=<None>
# DEPRECATED. A logging.Formatter log message format string
# which may use any of the available logging.LogRecord
# attributes. This option is deprecated. Please use
# logging_context_format_string and
# logging_default_format_string instead. (string value)
#log_format=<None>
# Format string for %%(asctime)s in log records. Default:
# %(default)s . (string value)
#log_date_format=%Y-%m-%d %H:%M:%S
# (Optional) Name of log file to output to. (string value)
# If not set here, logging will go to /var/log/keystone/keystone.log,
# default from keystone-dist.conf.
# Deprecated group/name - [DEFAULT]/logfile
#log_file=/var/log/keystone/keystone.log
# (Optional) The base directory used for relative --log-file
# paths. (string value)
# Deprecated group/name - [DEFAULT]/logdir
#log_dir=<None>
# Use syslog for logging. Existing syslog format is DEPRECATED
# during I, and will change in J to honor RFC5424. (boolean
# value)
#use_syslog=false
# (Optional) Enables or disables syslog rfc5424 format for
# logging. If enabled, prefixes the MSG part of the syslog
# message with APP-NAME (RFC5424). The format without the APP-
# NAME is deprecated in I, and will be removed in J. (boolean
# value)
#use_syslog_rfc_format=false
# Syslog facility to receive log lines. (string value)
#syslog_log_facility=LOG_USER
#
# Options defined in keystone.openstack.common.policy
#
# The JSON file that defines policies. (string value)
#policy_file=policy.json
# Default rule. Enforced when a requested rule is not found.
# (string value)
#policy_default_rule=default
[assignment]
#
# Options defined in keystone
#
# Assignment backend driver. (string value)
#driver=<None>
driver = keystone.assignment.backends.sql.Assignment
#driver = keystone.assignment.backends.ldap.Assignment
# Toggle for assignment caching. This has no effect unless
# global caching is enabled. (boolean value)
#caching=true
# TTL (in seconds) to cache assignment data. This has no
# effect unless global caching is enabled. (integer value)
#cache_time=<None>
# Maximum number of entities that will be returned in an
# assignment collection. (integer value)
#list_limit=<None>
[auth]
#
# Options defined in keystone
#
# Default auth methods. (list value)
#methods=external,password,token
# The password auth plugin module. (string value)
#password=keystone.auth.plugins.password.Password
# The token auth plugin module. (string value)
#token=keystone.auth.plugins.token.Token
# The external (REMOTE_USER) auth plugin module. (string
# value)
#external=keystone.auth.plugins.external.DefaultDomain
[cache]
#
# Options defined in keystone
#
# Prefix for building the configuration dictionary for the
# cache region. This should not need to be changed unless
# there is another dogpile.cache region with the same
# configuration name. (string value)
#config_prefix=cache.keystone
# Default TTL, in seconds, for any cached item in the
# dogpile.cache region. This applies to any cached method that
# doesn't have an explicit cache expiration time defined for
# it. (integer value)
#expiration_time=600
# Dogpile.cache backend module. It is recommended that
# Memcache with pooling (keystone.cache.memcache_pool) or
# Redis (dogpile.cache.redis) be used in production
# deployments. Small workloads (single process) like devstack
# can use the dogpile.cache.memory backend. (string value)
#backend=keystone.common.cache.noop
backend=keystone.cache.memcache_pool
# Arguments supplied to the backend module. Specify this
# option once per argument to be passed to the dogpile.cache
# backend. Example format: "<argname>:<value>". (multi valued)
#backend_argument=
# Proxy classes to import that will affect the way the
# dogpile.cache backend functions. See the dogpile.cache
# documentation on changing-backend-behavior. (list value)
#proxies=
# Global toggle for all caching using the should_cache_fn
# mechanism. (boolean value)
#enabled=false
# Extra debugging from the cache backend (cache keys,
# get/set/delete/etc calls). This is only really useful if you
# need to see the specific cache-backend get/set/delete calls
# with the keys/values. Typically this should be left set to
# false. (boolean value)
#debug_cache_backend=false
# Memcache servers in the format of "host:port".
# (dogpile.cache.memcache and keystone.cache.memcache_pool
# backends only) (list value)
#memcache_servers=localhost:11211
# Number of seconds memcached server is considered dead before
# it is tried again. (dogpile.cache.memcache and
# keystone.cache.memcache_pool backends only) (integer value)
#memcache_dead_retry=300
# Timeout in seconds for every call to a server.
# (dogpile.cache.memcache and keystone.cache.memcache_pool
# backends only) (integer value)
#memcache_socket_timeout=3
# Max total number of open connections to every memcached
# server. (keystone.cache.memcache_pool backend only) (integer
# value)
#memcache_pool_maxsize=10
# Number of seconds a connection to memcached is held unused
# in the pool before it is closed.
# (keystone.cache.memcache_pool backend only) (integer value)
#memcache_pool_unused_timeout=60
# Number of seconds that an operation will wait to get a
# memcache client connection. (integer value)
#memcache_pool_connection_get_timeout=10
[catalog]
#
# Options defined in keystone
#
# Catalog template file name for use with the template catalog
# backend. (string value)
#template_file=/etc/keystone/default_catalog.templates
# Catalog backend driver. (string value)
#driver=keystone.catalog.backends.sql.Catalog
# Toggle for catalog caching. This has no effect unless global
# caching is enabled. (boolean value)
#caching=true
# Time to cache catalog data (in seconds). This has no effect
# unless global and catalog caching are enabled. (integer
# value)
#cache_time=<None>
# Maximum number of entities that will be returned in a
# catalog collection. (integer value)
#list_limit=<None>
# (Deprecated) List of possible substitutions for use in
# formatting endpoints. Use caution when modifying this list.
# It will give users with permission to create endpoints the
# ability to see those values in your configuration file. This
# option will be removed in Juno. (list value)
#endpoint_substitution_whitelist=tenant_id,user_id,public_bind_host,admin_bind_host,compute_host,compute_port,admin_port,public_port,public_endpoint,admin_endpoint
[credential]
#
# Options defined in keystone
#
# Credential backend driver. (string value)
#driver=keystone.credential.backends.sql.Credential
[database]
#
# Options defined in oslo.db
#
# The file name to use with SQLite. (string value)
#sqlite_db=oslo.sqlite
# If True, SQLite uses synchronous mode. (boolean value)
#sqlite_synchronous=true
# The back end to use for the database. (string value)
# Deprecated group/name - [DEFAULT]/db_backend
#backend=sqlalchemy
# The SQLAlchemy connection string to use to connect to the
# database. (string value)
# Deprecated group/name - [DEFAULT]/sql_connection
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
connection=mysql://keystone:keystone@localhost/keystone
# The SQLAlchemy connection string to use to connect to the
# slave database. (string value)
#slave_connection=<None>
# The SQL mode to be used for MySQL sessions. This option,
# including the default, overrides any server-set SQL mode. To
# use whatever SQL mode is set by the server configuration,
# set this to no value. Example: mysql_sql_mode= (string
# value)
#mysql_sql_mode=TRADITIONAL
# Timeout before idle SQL connections are reaped. (integer
# value)
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
# Deprecated group/name - [DATABASE]/sql_idle_timeout
# Deprecated group/name - [sql]/idle_timeout
#idle_timeout=3600
# Minimum number of SQL connections to keep open in a pool.
# (integer value)
# Deprecated group/name - [DEFAULT]/sql_min_pool_size
# Deprecated group/name - [DATABASE]/sql_min_pool_size
#min_pool_size=1
# Maximum number of SQL connections to keep open in a pool.
# (integer value)
# Deprecated group/name - [DEFAULT]/sql_max_pool_size
# Deprecated group/name - [DATABASE]/sql_max_pool_size
#max_pool_size=<None>
# Maximum db connection retries during startup. Set to -1 to
# specify an infinite retry count. (integer value)
# Deprecated group/name - [DEFAULT]/sql_max_retries
# Deprecated group/name - [DATABASE]/sql_max_retries
#max_retries=10
# Interval between retries of opening a SQL connection.
# (integer value)
# Deprecated group/name - [DEFAULT]/sql_retry_interval
# Deprecated group/name - [DATABASE]/reconnect_interval
#retry_interval=10
# If set, use this value for max_overflow with SQLAlchemy.
# (integer value)
# Deprecated group/name - [DEFAULT]/sql_max_overflow
# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
#max_overflow=<None>
# Verbosity of SQL debugging information: 0=None,
# 100=Everything. (integer value)
# Deprecated group/name - [DEFAULT]/sql_connection_debug
#connection_debug=0
# Add Python stack traces to SQL as comment strings. (boolean
# value)
# Deprecated group/name - [DEFAULT]/sql_connection_trace
#connection_trace=false
# If set, use this value for pool_timeout with SQLAlchemy.
# (integer value)
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
#pool_timeout=<None>
# Enable the experimental use of database reconnect on
# connection lost. (boolean value)
#use_db_reconnect=false
# Seconds between database connection retries. (integer value)
#db_retry_interval=1
# If True, increases the interval between database connection
# retries up to db_max_retry_interval. (boolean value)
#db_inc_retry_interval=true
# If db_inc_retry_interval is set, the maximum seconds between
# database connection retries. (integer value)
#db_max_retry_interval=10
# Maximum database connection retries before error is raised.
# Set to -1 to specify an infinite retry count. (integer
# value)
#db_max_retries=20
[ec2]
#
# Options defined in keystone
#
# EC2Credential backend driver. (string value)
#driver=keystone.contrib.ec2.backends.sql.Ec2
[endpoint_filter]
#
# Options defined in keystone
#
# Endpoint Filter backend driver (string value)
#driver=keystone.contrib.endpoint_filter.backends.sql.EndpointFilter
# Toggle to return all active endpoints if no filter exists.
# (boolean value)
#return_all_endpoints_if_no_filter=true
[endpoint_policy]
#
# Options defined in keystone
#
# Endpoint policy backend driver (string value)
#driver=keystone.contrib.endpoint_policy.backends.sql.EndpointPolicy
[federation]
#
# Options defined in keystone
#
# Federation backend driver. (string value)
#driver=keystone.contrib.federation.backends.sql.Federation
# Value to be used when filtering assertion parameters from
# the environment. (string value)
#assertion_prefix=
[identity]
#
# Options defined in keystone
#
# This references the domain to use for all Identity API v2
# requests (which are not aware of domains). A domain with
# this ID will be created for you by keystone-manage db_sync
# in migration 008. The domain referenced by this ID cannot be
# deleted on the v3 API, to prevent accidentally breaking the
# v2 API. There is nothing special about this domain, other
# than the fact that it must exist to order to maintain
# support for your v2 clients. (string value)
#default_domain_id=default
# A subset (or all) of domains can have their own identity
# driver, each with their own partial configuration file in a
# domain configuration directory. Only values specific to the
# domain need to be placed in the domain specific
# configuration file. This feature is disabled by default; set
# to true to enable. (boolean value)
#domain_specific_drivers_enabled=false
# Path for Keystone to locate the domain specific identity
# configuration files if domain_specific_drivers_enabled is
# set to true. (string value)
#domain_config_dir=/etc/keystone/domains
# Identity backend driver. (string value)
#driver=keystone.identity.backends.sql.Identity
driver=keystone.identity.backends.ldap.Identity
# Maximum supported length for user passwords; decrease to
# improve performance. (integer value)
#max_password_length=4096
# Maximum number of entities that will be returned in an
# identity collection. (integer value)
#list_limit=<None>
[identity_mapping]
#
# Options defined in keystone
#
# Keystone Identity Mapping backend driver. (string value)
#driver=keystone.identity.mapping_backends.sql.Mapping
# Public ID generator for user and group entities. The
# Keystone identity mapper only supports generators that
# produce no more than 64 characters. (string value)
#generator=keystone.identity.id_generators.sha256.Generator
# The format of user and group IDs changed in Juno for
# backends that do not generate UUIDs (e.g. LDAP), with
# keystone providing a hash mapping to the underlying
# attribute in LDAP. By default this mapping is disabled,
# which ensures that existing IDs will not change. Even when
# the mapping is enabled by using domain specific drivers, any
# users and groups from the default domain being handled by
# LDAP will still not be mapped to ensure their IDs remain
# backward compatible. Setting this value to False will enable
# the mapping for even the default LDAP driver. It is only
# safe to do this if you do not already have assignments for
# users and groups from the default LDAP domain, and it is
# acceptable for Keystone to provide the different IDs to
# clients than it did previously. Typically this means that
# the only time you can set this value to False is when
# configuring a fresh installation. (boolean value)
#backward_compatible_ids=true
[kvs]
#
# Options defined in keystone
#
# Extra dogpile.cache backend modules to register with the
# dogpile.cache library. (list value)
#backends=
# Prefix for building the configuration dictionary for the KVS
# region. This should not need to be changed unless there is
# another dogpile.cache region with the same configuration
# name. (string value)
#config_prefix=keystone.kvs
# Toggle to disable using a key-mangling function to ensure
# fixed length keys. This is toggle-able for debugging
# purposes, it is highly recommended to always leave this set
# to true. (boolean value)
#enable_key_mangler=true
# Default lock timeout for distributed locking. (integer
# value)
#default_lock_timeout=5
[ldap]
query_scope = sub
url = ldap://adstg.xxxxx.com:3268
user = CN=OpenstackKeystone,OU=Service Accounts,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com
password = xxxxx
suffix = DC=xxxxx,DC=com
use_dumb_member = False
chase_referrals = False
user_tree_dn=DC=adstg,DC=xxxxx,DC=com
user_objectclass=organizationalPerson
user_name_attribute=sAMAccountName
user_id_attribute=sAMAccountName
user_mail_attribute = mail
user_enabled_attribute = userAccountControl
user_enabled_mask = 2
user_enabled_default = 512
user_allow_create = False
user_allow_update = False
user_allow_delete = False
user_filter=(memberof=CN=swiftusers,OU=Groups,OU=Swift,OU=Applications,DC=adstg,DC=xxxxx,DC=com)
[matchmaker_redis]
#
# Options defined in oslo.messaging
#
# Host to locate redis. (string value)
#host=127.0.0.1
# Use this port to connect to redis host. (integer value)
#port=6379
# Password for Redis server (optional). (string value)
#password=<None>
[matchmaker_ring]
#
# Options defined in oslo.messaging
#
# Matchmaker ring file (JSON). (string value)
# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
#ringfile=/etc/oslo/matchmaker_ring.json
[memcache]
#
# Options defined in keystone
#
# Memcache servers in the format of "host:port". (list value)
#servers=localhost:11211
# Number of seconds memcached server is considered dead before
# it is tried again. This is used by the key value store
# system (e.g. token pooled memcached persistence backend).
# (integer value)
#dead_retry=300
# Timeout in seconds for every call to a server. This is used
# by the key value store system (e.g. token pooled memcached
# persistence backend). (integer value)
#socket_timeout=3
# Max total number of open connections to every memcached
# server. This is used by the key value store system (e.g.
# token pooled memcached persistence backend). (integer value)
#pool_maxsize=10
# Number of seconds a connection to memcached is held unused
# in the pool before it is closed. This is used by the key
# value store system (e.g. token pooled memcached persistence
# backend). (integer value)
#pool_unused_timeout=60
# Number of seconds that an operation will wait to get a
# memcache client connection. This is used by the key value
# store system (e.g. token pooled memcached persistence
# backend). (integer value)
#pool_connection_get_timeout=10
[oauth1]
#
# Options defined in keystone
#
# Credential backend driver. (string value)
#driver=keystone.contrib.oauth1.backends.sql.OAuth1
# Duration (in seconds) for the OAuth Request Token. (integer
# value)
#request_token_duration=28800
# Duration (in seconds) for the OAuth Access Token. (integer
# value)
#access_token_duration=86400
[os_inherit]
#
# Options defined in keystone
#
# role-assignment inheritance to projects from owning domain
# can be optionally enabled. (boolean value)
#enabled=false
[paste_deploy]
#
# Options defined in keystone
#
# Name of the paste configuration file that defines the
# available pipelines. (string value)
#config_file=/usr/share/keystone/keystone-dist-paste.ini
[policy]
#
# Options defined in keystone
#
# Policy backend driver. (string value)
#driver=keystone.policy.backends.sql.Policy
# Maximum number of entities that will be returned in a policy
# collection. (integer value)
#list_limit=<None>
[revoke]
#
# Options defined in keystone
#
# An implementation of the backend for persisting revocation
# events. (string value)
#driver=keystone.contrib.revoke.backends.kvs.Revoke
# This value (calculated in seconds) is added to token
# expiration before a revocation event may be removed from the
# backend. (integer value)
#expiration_buffer=1800
# Toggle for revocation event caching. This has no effect
# unless global caching is enabled. (boolean value)
#caching=true
[saml]
#
# Options defined in keystone
#
# Default TTL, in seconds, for any generated SAML assertion
# created by Keystone. (integer value)
#assertion_expiration_time=3600
# Binary to be called for XML signing. Install the appropriate
# package, specify absolute path or adjust your PATH
# environment variable if the binary cannot be found. (string
# value)
#xmlsec1_binary=xmlsec1
# Path of the certfile for SAML signing. For non-production
# environments, you may be interested in using `keystone-
# manage pki_setup` to generate self-signed certificates.
# Note, the path cannot contain a comma. (string value)
#certfile=/etc/keystone/ssl/certs/signing_cert.pem
#certfile=/etc/keystone/ssl/certs/seagate_pki.pem
# Path of the keyfile for SAML signing. Note, the path cannot
# contain a comma. (string value)
#keyfile=/etc/keystone/ssl/private/signing_key.pem
# Entity ID value for unique Identity Provider identification.
# Usually FQDN is set with a suffix. A value is required to
# generate IDP Metadata. For example:
# https://keystone.example.com/v3/OS-FEDERATION/saml2/idp
# (string value)
#idp_entity_id=<None>
# Identity Provider Single-Sign-On service value, required in
# the Identity Provider's metadata. A value is required to
# generate IDP Metadata. For example:
# https://keystone.example.com/v3/OS-FEDERATION/saml2/sso
# (string value)
#idp_sso_endpoint=<None>
# Language used by the organization. (string value)
#idp_lang=en
# Organization name the installation belongs to. (string
# value)
#idp_organization_name=<None>
# Organization name to be displayed. (string value)
#idp_organization_display_name=<None>
# URL of the organization. (string value)
#idp_organization_url=<None>
# Company of contact person. (string value)
#idp_contact_company=<None>
# Given name of contact person (string value)
#idp_contact_name=<None>
# Surname of contact person. (string value)
#idp_contact_surname=<None>
# Email address of contact person. (string value)
#idp_contact_email=<None>
# Telephone number of contact person. (string value)
#idp_contact_telephone=<None>
# Contact type. Allowed values are: technical, support,
# administrative billing, and other (string value)
#idp_contact_type=other
# Path to the Identity Provider Metadata file. This file
# should be generated with the keystone-manage
# saml_idp_metadata command. (string value)
#idp_metadata_path=/etc/keystone/saml2_idp_metadata.xml
[signing]
#
# Options defined in keystone
#
# Deprecated in favor of provider in the [token] section.
# (string value)
#token_format=<None>
# Path of the certfile for token signing. For non-production
# environments, you may be interested in using `keystone-
# manage pki_setup` to generate self-signed certificates.
# (string value)
#certfile=/etc/keystone/ssl/certs/signing_cert.pem
# Path of the keyfile for token signing. (string value)
#keyfile=/etc/keystone/ssl/private/signing_key.pem
# Path of the CA for token signing. (string value)
#ca_certs=/etc/keystone/ssl/certs/ca.pem
# Path of the CA key for token signing. (string value)
#ca_key=/etc/keystone/ssl/private/cakey.pem
# Key size (in bits) for token signing cert (auto generated
# certificate). (integer value)
#key_size=2048
# Days the token signing cert is valid for (auto generated
# certificate). (integer value)
#valid_days=3650
# Certificate subject (auto generated certificate) for token
# signing. (string value)
#cert_subject=/C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
[ssl]
#
# Options defined in keystone
#
# Toggle for SSL support on the Keystone eventlet servers.
# (boolean value)
#enable=false
# Path of the certfile for SSL. For non-production
# environments, you may be interested in using `keystone-
# manage ssl_setup` to generate self-signed certificates.
# (string value)
#certfile=/etc/keystone/ssl/certs/keystone.pem
# Path of the keyfile for SSL. (string value)
#keyfile=/etc/keystone/ssl/private/keystonekey.pem
# Path of the ca cert file for SSL. (string value)
#ca_certs=/etc/keystone/ssl/certs/ca.pem
# Path of the CA key file for SSL. (string value)
#ca_key=/etc/keystone/ssl/private/cakey.pem
# Require client certificate. (boolean value)
#cert_required=false
# SSL key length (in bits) (auto generated certificate).
# (integer value)
#key_size=1024
# Days the certificate is valid for once signed (auto
# generated certificate). (integer value)
#valid_days=3650
# SSL certificate subject (auto generated certificate).
# (string value)
#cert_subject=/C=US/ST=Unset/L=Unset/O=Unset/CN=localhost
[stats]
#
# Options defined in keystone
#
# Stats backend driver. (string value)
#driver=keystone.contrib.stats.backends.kvs.Stats
[token]
#
# Options defined in keystone
#
# External auth mechanisms that should add bind information to
# token, e.g., kerberos,x509. (list value)
#bind=
# Enforcement policy on tokens presented to Keystone with bind
# information. One of disabled, permissive, strict, required
# or a specifically required bind mode, e.g., kerberos or x509
# to require binding to that authentication. (string value)
#enforce_token_bind=permissive
# Amount of time a token should remain valid (in seconds).
# (integer value)
#expiration=3600
# Controls the token construction, validation, and revocation
# operations. Core providers are
# "keystone.token.providers.[pkiz|pki|uuid].Provider". The
# default provider is uuid. (string value)
#provider=<None>
provider=keystone.token.providers.pki.Provider
# Token persistence backend driver. (string value)
#driver=keystone.token.persistence.backends.sql.Token
driver=keystone.token.backends.memcache.Token
# Toggle for token system caching. This has no effect unless
# global caching is enabled. (boolean value)
#caching=true
# Time to cache the revocation list and the revocation events
# if revoke extension is enabled (in seconds). This has no
# effect unless global and token caching are enabled. (integer
# value)
#revocation_cache_time=3600
# Time to cache tokens (in seconds). This has no effect unless
# global and token caching are enabled. (integer value)
#cache_time=<None>
# Revoke token by token identifier. Setting revoke_by_id to
# true enables various forms of enumerating tokens, e.g. `list
# tokens for user`. These enumerations are processed to
# determine the list of tokens to revoke. Only disable if you
# are switching to using the Revoke extension with a backend
# other than KVS, which stores events in memory. (boolean
# value)
#revoke_by_id=true
# The hash algorithm to use for PKI tokens. This can be set to
# any algorithm that hashlib supports. WARNING: Before
# changing this value, the auth_token middleware must be
# configured with the hash_algorithms, otherwise token
# revocation will not be processed correctly. (string value)
#hash_algorithm=md5
[trust]
#
# Options defined in keystone
#
# Delegation and impersonation features can be optionally
# disabled. (boolean value)
#enabled=true
# Trust backend driver. (string value)
#driver=keystone.trust.backends.sql.Trust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment