dashboard charm doesn't support multiple regions
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-
AVAILABLE_REGIONS = [
('http://
('http://
]
Here's a screen shot of the drop-down box (ignore the white on white theme issue): https:/
Related branches
- OpenStack Charmers: Pending requested
-
Diff: 127 lines (+68/-5)4 files modifiedhooks/horizon_contexts.py (+24/-5)
templates/icehouse/local_settings.py (+7/-0)
templates/juno/local_settings.py (+7/-0)
unit_tests/test_horizon_contexts.py (+30/-0)
- James Page: Needs Fixing
-
Diff: 25 lines (+3/-1)2 files modifiedhooks/keystone_utils.py (+1/-0)
unit_tests/test_keystone_utils.py (+2/-1)
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) |
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 |
Changed in openstack-dashboard (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in keystone (Juju Charms Collection): | |
milestone: | none → 15.01 |
Changed in openstack-dashboard (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Changed in keystone (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Need to expose the region in the relation data between keystone and the openstack-dashboard for this to work