Unable to handle Swift containers in Horizon due to cookies settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Reproduced on several versions since at least Pike to Victoria. Special config needed:
$ grep -i "cookie" local_settings.py
CSRF_COOKIE_SECURE = True
SESSION_
CSRF_COOKIE_
SESSION_
Critical option for reproduce is CSRF_COOKIE_
Reproduce:
In Horizon Dashboard:
Project -> Object store -> Containers -> "Create container" fails with the following error:
"Error: Unable to create container"
The following messages are captured in horizon log:
django.request Not Found: /horizon/
django.
Also deleting of existing container fails with the similar error
Changed in horizon: | |
status: | New → In Progress |