[SRU] Project selector not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Lin Hua Cheng | ||
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Kilo |
Fix Released
|
Undecided
|
Liang Chen | ||
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Vivid |
Won't Fix
|
Undecided
|
Unassigned | ||
Wily |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Not able to switch projects by the project dropdown list.
[Test Case]
1 - enable Identity V3 in local_settings.py
2 - Log in on Horizon
3 - make sure that the SESSION_BACKEND is "signed_cookies"
4 - Try to change project on the dropdown
[Regression Potential]
* None
When you try to select a new project on the project dropdown, the project doesn't change. The commit below has introduced this bug on Horizon's master and has passed the tests verifications.
https:/
For what I've found so far, the context being received in the decorator seems to be the old context, with the token to the previous project. When you take the decorator out, the context received by the "can_access" function receives the correct context, with the token to the new project.
Steps to reproduce:
1 - Enable Identity V3 (to have a huge token)
2 - Log in on Horizon (lots of permissions loaded on session)
3 - Certify that you SESSION_BACKEND is "signed_cookies"
4 - Try to change project on the dropdown
The project shall remain the same.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 69 lines (+49/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/fix-project-selector.patch (+40/-0)
debian/patches/series (+1/-0)
description: | updated |
description: | updated |
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → kilo-1 |
Changed in horizon: | |
assignee: | nobody → Thiago Paiva Brito (thiagop) |
Changed in horizon: | |
milestone: | kilo-1 → kilo-2 |
Changed in horizon: | |
milestone: | kilo-2 → kilo-3 |
Changed in horizon: | |
milestone: | kilo-3 → kilo-rc1 |
Changed in horizon: | |
milestone: | kilo-rc1 → liberty-1 |
status: | In Progress → Confirmed |
Changed in horizon: | |
assignee: | Thiago Paiva Brito (thiagop) → jun moon (z8715000) |
Changed in horizon: | |
milestone: | liberty-1 → liberty-2 |
Changed in horizon: | |
milestone: | liberty-2 → liberty-3 |
Changed in horizon: | |
milestone: | liberty-3 → liberty-rc1 |
Changed in horizon: | |
assignee: | nobody → Lin Hua Cheng (lin-hua-cheng) |
status: | Confirmed → In Progress |
Changed in horizon: | |
milestone: | liberty-rc1 → none |
Changed in horizon: | |
milestone: | none → liberty-rc1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-rc1 → 8.0.0 |
Changed in horizon (Ubuntu Xenial): | |
status: | New → Fix Released |
Changed in horizon (Ubuntu Wily): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
tags: | added: sts |
Changed in horizon (Ubuntu Vivid): | |
assignee: | nobody → Liang Chen (cbjchen) |
status: | New → In Progress |
tags: | added: sts-sru |
Changed in cloud-archive: | |
assignee: | nobody → Liang Chen (cbjchen) |
status: | New → In Progress |
Changed in horizon (Ubuntu Vivid): | |
status: | In Progress → Won't Fix |
assignee: | Liang Chen (cbjchen) → nobody |
Changed in cloud-archive: | |
status: | In Progress → Invalid |
assignee: | Liang Chen (cbjchen) → nobody |
summary: |
- Project selector not working + [SRU] Project selector not working |
tags: | removed: sts-sru |
I naively tried to reproduce this by launching an instance then switching project using the dropdown in the top bar, but as far as I can tell it works? I only see the instance in one of the projects as expected, the project overview quotas look correct as well. Are there other steps required to reproduce? Currently running a fresh devstack (Horizon commmit 20b1c189b5).