Users with multiple tenants cannot authenticate

Bug #953806 reported by Guillaume Pernot on 2012-03-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Critical
Gabriel Hurley

Bug Description

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

attached patch fixes this.

Guillaume Pernot (gpernot) wrote :
description: updated
Andy Chong (andycjw) wrote :

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

Guillaume Pernot (gpernot) wrote :

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

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) on 2012-03-18
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
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
Thierry Carrez (ttx) on 2012-03-19
tags: removed: essex-rc-potential

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) on 2012-03-20
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers