Fix Ranger-Agent to allow Token Scope Authorization

Ranger-agent could not send heat template due to failed
token authentication.  This was due to ranger-agent making an
unscoped authorization.  The fix is to enable project authorization
for token authentication.

Change-Id: I6796a627b4b4bdd9f3290ebf01aa02c23ec2218f
This commit is contained in:
stewie925 2018-11-14 12:46:09 -08:00
parent 5712eda181
commit 0fa886466a

View File

@ -76,6 +76,7 @@ def create_keystone_client(args):
session = ksc_session.Session(auth=auth)
return keystone_v3.Client(session=session,
auth_url=args['auth_url'],
project_name=args['project_name'],
username=args['username'],
password=args['password'])