Skip to content

Commit

Permalink
Fix for admin authentication from non-default domain in Keystone v3.
Browse files Browse the repository at this point in the history
Tested and verified against latest Contrail 3.0 build.

Closes-Bug: #1551606
Change-Id: I831e206b06a7ae96fe43edd15e2b8fc63f93283e
  • Loading branch information
pupapaik committed Apr 19, 2016
1 parent 194ccf5 commit d3206c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/api-server/vnc_auth_keystone.py
Expand Up @@ -148,6 +148,11 @@ def __init__(self, server_mgr, args):
'max_requests': args.max_requests,
'insecure':args.insecure,
}
try:
if 'v3' in args.auth_url:
self._conf_info['auth_version'] = 'v3.0'
except AttributeError:
pass
if _kscertbundle:
self._conf_info['cafile'] = _kscertbundle
self._server_mgr = server_mgr
Expand Down

0 comments on commit d3206c7

Please sign in to comment.