diff options
author | Vijayaguru Guruchave <vijayaguru.g@cloudenablers.com> | 2014-10-13 20:20:02 +0530 |
---|---|---|
committer | Vijayaguru Guruchave <vijayaguru.g@cloudenablers.com> | 2014-10-15 23:01:46 +0530 |
commit | 970d688eb2abf718f009304992352427b6ac79ce (patch) | |
tree | 56668ae3da6e71c6621f937f6119e641c9dda06d /heatclient/shell.py | |
parent | 3d402d4c936b2714a91b4d9bbf96cdc6dcef6180 (diff) | |
download | python-heatclient-970d688eb2abf718f009304992352427b6ac79ce.tar.gz |
Pass auth_url if os_no_client_auth specified
The standalone auth_password middleware expects 'X-Auth-Url' header
in the request. The recent version of heatclient doesn't pass the
required header which is retrieved from the option '--os-auth-url',
though we explicitly specify it in the commandline. Let's pass the
argument 'auth_url' and get heatclient working in standalone mode.
Change-Id: I3e67f4699c61c3ce5c42f25e3c8b137f8ba8a2e3
Closes-bug: #1380658
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r-- | heatclient/shell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py index f26863c..c3733ae 100644 --- a/heatclient/shell.py +++ b/heatclient/shell.py @@ -553,6 +553,7 @@ class HeatShell(object): kwargs = { 'username': args.os_username, 'password': args.os_password, + 'auth_url': args.os_auth_url, 'token': args.os_auth_token, 'include_pass': args.include_password, 'insecure': args.insecure, |