connecting to dashboard through python requests.session won't authorize without region specified in fields
Bug #930363 reported by
andrewsben
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Gabriel Hurley |
Bug Description
When connecting through python requests.session to dashboard I cannot get authorized without a region specified. I expected for the default region to be used if nothing is specified.
Step:
create session and auth variable (csrfmiddleware
session.post the auth variables to / - session.
session.
session's content is then the login page from redirect
Expected:
Without a region specified that it would use the default
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → essex-4 |
Changed in horizon: | |
assignee: | nobody → Gabriel Hurley (gabriel-hurley) |
status: | Confirmed → In Progress |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Additional information:
If I add region with a value of 'http:// 127.0.0. 1:5000/ v2.0' to the auth dict doing a requests. session. get(DASH_ URL + '/whatever') will pull back information as I expect.