← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381413] [NEW] Switch Region dropdown doesn't work

 

Public bug reported:

In case Horizon was set up to work with multiple regions (by editing
AVAILABLE_REGIONS in settings.py), region selector drop-down appears in
top right corner. But it doesn't work now.

Suppose I login into the Region1, then if I try to switch to Region2, it
redirects me to the login view of django-openstack-auth
https://github.com/openstack/horizon/blob/2014.2.rc1/horizon/templates/horizon/common/_region_selector.html#L11

There I am being immediately redirected to the
settings.LOGIN_REDIRECT_URL because I am already authenticated at
Region1, so I cannot view Region2 resources if I switch to it via top
right dropdown. Selecting region at login page works though.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1381413

Title:
  Switch Region dropdown doesn't work

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  In case Horizon was set up to work with multiple regions (by editing
  AVAILABLE_REGIONS in settings.py), region selector drop-down appears
  in top right corner. But it doesn't work now.

  Suppose I login into the Region1, then if I try to switch to Region2,
  it redirects me to the login view of django-openstack-auth
  https://github.com/openstack/horizon/blob/2014.2.rc1/horizon/templates/horizon/common/_region_selector.html#L11

  There I am being immediately redirected to the
  settings.LOGIN_REDIRECT_URL because I am already authenticated at
  Region1, so I cannot view Region2 resources if I switch to it via top
  right dropdown. Selecting region at login page works though.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1381413/+subscriptions


Follow ups

References