heat --include-password does not pass credentials in request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
In Progress
|
Medium
|
Kashif Siddiqui |
Bug Description
v1.8.0 (Exists in earlier versions as well)
heat --include-pass stack-create does not pass the credentials in request headers even though ENV has os_username and os_password set.
But it does work if we disable the client auth and manually pass the auth_token
for eg. This works
heat --include-pass --os-no-client-auth --os-auth-token <SOME_VALID_TOKEN> stack-create -f template.yaml stack1
STEPS:
NOT WORKING:
> set OS_USERNAME and OS_PASSWORD and other stuff...
> heat --debug --include-pass stack-create -f template.yaml stack1
RESULT:
No 'X-Auth-User' and 'X-Auth-Key' in request header
WORKING:
> heat --debug --os-no-client-auth --os-auth-token <SOME_TOKEN> --include-pass stack-create -f template.yaml stack1
RESULT:
'X-Auth-User' and 'X-Auth-Key' present in request header
Changed in python-heatclient: | |
assignee: | nobody → Kashif Siddiqui (kashif.siddiqui) |
Changed in python-heatclient: | |
status: | In Progress → Fix Committed |
Changed in python-heatclient: | |
status: | Fix Committed → In Progress |
Changed in python-heatclient: | |
milestone: | none → 2.0.0 |
importance: | Undecided → Medium |
Changed in python-heatclient: | |
milestone: | 1.10.0 → 1.11.0 |
Changed in python-heatclient: | |
milestone: | 1.11.0 → 1.12.0 |
Changed in python-heatclient: | |
milestone: | none → 1.12.0 |
Changed in python-heatclient: | |
milestone: | 1.12.0 → 1.13.0 |
Changed in python-heatclient: | |
milestone: | 1.13.0 → 1.14.0 |
Changed in python-heatclient: | |
milestone: | 1.14.0 → 1.15.0 |
Changed in python-heatclient: | |
milestone: | 1.15.0 → 1.16.0 |
Fix proposed to branch: master /review. openstack. org/435213
Review: https:/