Fix zaqar-bench auth method detection

Currently Zaqar-bench can run only with noauth authentication method,
because it doesn't read properly the OS_AUTH_STRATEGY environment
variable.

This patch fixes it.

Change-Id: Ibfbc958e5fed040abfd16af0e3ebbd40a492821f
This commit is contained in:
Eva Balycheva 2016-01-18 07:53:38 +03:00
parent edfb7ec3b8
commit 4607961e55

View File

@ -67,7 +67,7 @@ def _get_credential_args():
def _generate_client_conf():
auth_strategy = os.environ.get
auth_strategy = os.environ.get('OS_AUTH_STRATEGY', 'noauth')
if auth_strategy == 'keystone':
args = _get_credential_args()
# FIXME(flwang): Now we're hardcode the keystone auth version, since