dashboard scenario does not handle 30x HTTP code
Bug #1498297 reported by
Emilien Macchi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Won't Fix
|
Undecided
|
Mehdi Abaakouk |
Bug Description
Since this patch: https:/
The login_url is build from dashboard_url to POST credentials to Horizon server.
However, it does not work as expected if you have http://<host>/horizon URL.
See logs:
"POST /horizon/
Config:
login_url=http://
dashboard_url=http://
Changed in tempest: | |
assignee: | nobody → David Lyle (david-lyle) |
Changed in tempest: | |
assignee: | Emilien Macchi (emilienm) → Mehdi Abaakouk (sileht) |
To post a comment you must log in.
so if use dashboard_url=http:// devstack- trusty- rax-dfw- 5036280/ - the request will not be 404 this time, though I have mismatch error (can't find "Overview"): http:// paste.openstack .org/show/ sbpxUCls7JD5d29 IunZl/
This is because a redirection: 2015:04: 54:24 +0000] "GET / HTTP/1.1" 301 236 "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon HTTP/1.1" 302 - "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon/ auth/login/ ?next=/ horizon/ HTTP/1.1" 200 6904 "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET / HTTP/1.1" 301 236 "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon HTTP/1.1" 302 - "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon/ auth/login/ ?next=/ horizon/ HTTP/1.1" 200 6904 "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "POST /horizon/ auth/login/ HTTP/1.1" 200 7020 "http:// devstack- trusty- rax-dfw- 5036280/" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET / HTTP/1.1" 301 236 "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon HTTP/1.1" 302 - "-" "Python-urllib/2.7" 2015:04: 54:24 +0000] "GET /horizon/ auth/login/ ?next=/ horizon/ HTTP/1.1" 200 6904 "-" "Python-urllib/2.7"
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/
127.0.0.1 - - [22/Sep/