dashboard charm doesn't support multiple regions

Bug #1398186 reported by Corey Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystone (Juju Charms Collection)
Fix Released
Medium
Billy Olsen
openstack-dashboard (Juju Charms Collection)
Fix Released
Medium
Billy Olsen

Bug Description

When multiple regions are configured with keystone, the dashboard doesn't enable switching between regions.

For example, if the keystone charm is deployed with:

keystone:
  branch: lp:~openstack-charmers/charms/trusty/keystone/next
  constraints: mem=1G
  options:
    admin-password: openstack
    admin-token: ubuntutesting
    region: RegionOne RegionTwo

Then, in order to see a region drop down box in the upper-right corner to the right of the "Sign Out" link, the following option currently needs to be manually set:

/etc/openstack-dashboard/local_settings.py
AVAILABLE_REGIONS = [
    ('http://10.5.23.180:5000/v2.0', 'RegionOne'),
    ('http://10.5.23.180:5000/v2.0', 'RegionTwo')
]

Here's a screen shot of the drop-down box (ignore the white on white theme issue): https://launchpadlibrarian.net/191197466/multi-region-white.png

Tags: openstack

Related branches

tags: added: openstack
Changed in openstack-dashboard (Juju Charms Collection):
assignee: nobody → Billy Olsen (billy-olsen)
assignee: Billy Olsen (billy-olsen) → nobody
status: New → Confirmed
assignee: nobody → Billy Olsen (billy-olsen)
Revision history for this message
Billy Olsen (billy-olsen) wrote :

Need to expose the region in the relation data between keystone and the openstack-dashboard for this to work

Changed in keystone (Juju Charms Collection):
assignee: nobody → Billy Olsen (billy-olsen)
Changed in keystone (Juju Charms Collection):
status: New → Confirmed
Changed in keystone (Juju Charms Collection):
status: Confirmed → In Progress
Changed in openstack-dashboard (Juju Charms Collection):
status: Confirmed → In Progress
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in openstack-dashboard (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in keystone (Juju Charms Collection):
importance: Undecided → Medium
Changed in openstack-dashboard (Juju Charms Collection):
importance: Undecided → Medium
James Page (james-page)
Changed in openstack-dashboard (Juju Charms Collection):
milestone: none → 15.01
Changed in keystone (Juju Charms Collection):
milestone: none → 15.01
James Page (james-page)
Changed in openstack-dashboard (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in keystone (Juju Charms Collection):
status: Fix Committed → Fix Released
Revision history for this message
Ante Karamatić (ivoks) wrote :

I'm not sure this was correct. This produces two drop down region selectors. By just relating dashboard to keystone, we had no issues with region selector. With this change, we now have two region selectors.

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.