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