Users with multiple tenants cannot authenticate

Bug #953806 reported by Guillaume Pernot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
Gabriel Hurley

Bug Description

a bug in auth_forms.py prevents authentication with multi-tenant users.

attached patch fixes this.

Revision history for this message
Guillaume Pernot (gpernot) wrote :
description: updated
Revision history for this message
Andy Chong (andycjw) wrote :

can you explain why this patch fixed this?
and how do you re-enact the disconnection that you describing?

Revision history for this message
Guillaume Pernot (gpernot) wrote :

the two variables 'token' and 'token' have the same name in auth_form.py ;)

Revision history for this message
Andy Chong (andycjw) wrote :

ah, i see, the unscoped token is overwritten in the loop
let let the other review if this bug is confirm, thanks for explaining

Devin Carlen (devcamcar)
tags: added: essex-rc-potential
Changed in horizon:
status: New → Confirmed
summary: - random deconnections from dashboard
+ Users with multiple tenants cannot authenticate
Changed in horizon:
importance: Undecided → Critical
assignee: nobody → Nebula (nebula)
Changed in horizon:
assignee: Nebula (nebula) → Gabriel Hurley (gabriel-hurley)
status: Confirmed → In Progress
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This is actually a pretty serious bug when it gets triggered. Marking as a blocker. Fix forthcoming.

Changed in horizon:
milestone: none → essex-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5491

Thierry Carrez (ttx)
tags: removed: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/5491
Committed: http://github.com/openstack/horizon/commit/f59ecbef7839e2d6a711f49362353739b0fde69e
Submitter: Jenkins
Branch: master

commit f59ecbef7839e2d6a711f49362353739b0fde69e
Author: Gabriel Hurley <email address hidden>
Date: Sun Mar 18 17:24:23 2012 -0700

    Fixed a variable being clobbered in the auth_forms handler.

    Adds some new test data and a regression test for this bug.

    Fixes bug 953806.

    Change-Id: I1873e7f2cf0ce4431a6f6fb0ad7b0ef0cbd34334

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.