Merge "Add info logs to plugin scoping"
This commit is contained in:
@@ -181,6 +181,8 @@ class BasePlugin(object):
|
|||||||
scoped_auth_ref = scoped_auth.get_access(session)
|
scoped_auth_ref = scoped_auth.get_access(session)
|
||||||
except (keystone_exceptions.ClientException,
|
except (keystone_exceptions.ClientException,
|
||||||
keystone_exceptions.AuthorizationFailure):
|
keystone_exceptions.AuthorizationFailure):
|
||||||
|
LOG.info('Attempted scope to project %s failed, will attempt'
|
||||||
|
'to scope to another project.' % project.name)
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
@@ -227,6 +229,8 @@ class BasePlugin(object):
|
|||||||
domain_auth_ref = domain_auth.get_access(session)
|
domain_auth_ref = domain_auth.get_access(session)
|
||||||
except (keystone_exceptions.ClientException,
|
except (keystone_exceptions.ClientException,
|
||||||
keystone_exceptions.AuthorizationFailure):
|
keystone_exceptions.AuthorizationFailure):
|
||||||
|
LOG.info('Attempted scope to domain %s failed, will attempt'
|
||||||
|
'to scope to another domain.' % domain_name)
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if len(domains) > 1:
|
if len(domains) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user