username/password are ignored so don't pass them, and
tenant needs to be the context tenant not the service
tenant or token auth will fail.
Fixes bug
1072944
Change-Id: I862d0041daad278dfe7bc16d59dc733dde90e758
Signed-off-by: Steven Hardy <shardy@redhat.com>
kwargs['tenant_name'] = context.tenant
kwargs['tenant_id'] = context.tenant_id
elif context.auth_token is not None:
- kwargs['username'] = context.service_user
- kwargs['password'] = context.service_password
- kwargs['tenant_name'] = context.service_tenant
+ kwargs['tenant_name'] = context.tenant
kwargs['token'] = context.auth_token
else:
logger.error("Keystone connection failed, no password or " +