heatclient ignores the --os-auth-url option in standalone mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
Fix Released
|
High
|
Vijayaguru Guruchave |
Bug Description
The recent version of heatclient fails with the error 'Request missing required header X-Auth-Url'
though we specify '--os-auth-url' explicitly in the command.
For example,
$ heat --debug --os-no-client-auth --os-username admin --os-password admin --os-auth-url http://
DEBUG (http) curl -i -X GET -H 'X-Auth-Key: admin' -H 'Content-Type: application/json' -H 'X-Auth-User: admin' -H 'Accept: application/json' -H 'User-Agent: python-heatclient' http://
DEBUG (http)
HTTP/1.1 400 Bad Request
date: Mon, 13 Oct 2014 13:38:39 GMT
content-length: 161
content-type: text/plain; charset=UTF-8
x-openstack-
400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
Request missing required header X-Auth-Url
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
HeatShell(
File "/opt/stack/
args.
File "/opt/stack/
utils.
File "/opt/stack/
for o in objs:
File "/opt/stack/
stacks = self._list(url, 'stacks')
File "/opt/stack/
body = self.client.
File "/opt/stack/
return self.client_
File "/opt/stack/
resp, body = self.json_
File "/opt/stack/
resp = self._http_
File "/opt/stack/
raise exc.from_
heatclient.
The server could not comply with the request since it is either malformed or otherwise incorrect.
Request missing required header X-Auth-Url
Changed in python-heatclient: | |
assignee: | nobody → Vijayaguru Guruchave (vijayaguru-g) |
Changed in python-heatclient: | |
status: | New → In Progress |
Changed in python-heatclient: | |
importance: | Undecided → High |
milestone: | none → v0.2.13 |
Changed in python-heatclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/127987
Review: https:/