Horizon configuration to support domains dropdown

Bug #1795788 reported by Max Kochubey
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Dmitriy Rabotyagov

Bug Description

An openstack-ansible deployment does not have any options to set the local_settings.py options for Horizon to support Keystone V3 multiple domains dropdown menu and its variants to choose.
These options in local_settings.py are:

OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN - default value to "False"
OPENSTACK_KEYSTONE_DOMAIN_CHOICES - default value to "(('Default', 'Default'))"

The proposed solution is to add two variables in the horizon role (user_variables.yml):

horizon_keystone_domain_dropdown - defaults to "False"
horizon_keystone_domain_choices - defaults to "(('Default', 'Default'))"

Revision history for this message
Max Kochubey (maxkochubey) wrote :
Changed in openstack-ansible:
assignee: nobody → Max Kochubey (maxkochubey)
status: New → In Progress
Changed in openstack-ansible:
assignee: Max Kochubey (maxkochubey) → Jonathan Rosser (jrosser)
Changed in openstack-ansible:
assignee: Jonathan Rosser (jrosser) → Dmitriy Rabotyagov (noonedeadpunk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (master)

Reviewed: https://review.opendev.org/607474
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=d86285b377221fb5522207a9da6cbfbdea4dd1e9
Submitter: Zuul
Branch: master

commit d86285b377221fb5522207a9da6cbfbdea4dd1e9
Author: Max Kochubey <email address hidden>
Date: Wed Oct 3 06:40:00 2018 +0000

    Horizon configuration to support domains dropdown

    An openstack-ansible deployment does not have options to set the local_settings.py params
    for Horizon to support Keystone V3 multiple domains dropdown menu and its variants to choose.

    These options in local_settings.py are:
    OPENSTACK_KEYSTONE_DOMAIN_CHOICES - default value to "(('Default', 'Default'))"

    Change-Id: I9f1b8e4c6f5b4fe2601e5ee1dacf90bded60f93d
    Closes-Bug: 1795788

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/719934

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (stable/train)

Reviewed: https://review.opendev.org/719934
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=e3326b77086b3865202cff9bce95377937aa6f07
Submitter: Zuul
Branch: stable/train

commit e3326b77086b3865202cff9bce95377937aa6f07
Author: Max Kochubey <email address hidden>
Date: Wed Oct 3 06:40:00 2018 +0000

    Horizon configuration to support domains dropdown

    An openstack-ansible deployment does not have options to set the local_settings.py params
    for Horizon to support Keystone V3 multiple domains dropdown menu and its variants to choose.

    These options in local_settings.py are:
    OPENSTACK_KEYSTONE_DOMAIN_CHOICES - default value to "(('Default', 'Default'))"

    Change-Id: I9f1b8e4c6f5b4fe2601e5ee1dacf90bded60f93d
    Closes-Bug: 1795788
    (cherry picked from commit d86285b377221fb5522207a9da6cbfbdea4dd1e9)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/734834

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (stable/stein)

Reviewed: https://review.opendev.org/734834
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=198fbf664636a1ce8340537bec0da30bf99b4248
Submitter: Zuul
Branch: stable/stein

commit 198fbf664636a1ce8340537bec0da30bf99b4248
Author: Max Kochubey <email address hidden>
Date: Wed Oct 3 06:40:00 2018 +0000

    Horizon configuration to support domains dropdown

    An openstack-ansible deployment does not have options to set the local_settings.py params
    for Horizon to support Keystone V3 multiple domains dropdown menu and its variants to choose.

    These options in local_settings.py are:
    OPENSTACK_KEYSTONE_DOMAIN_CHOICES - default value to "(('Default', 'Default'))"

    Change-Id: I9f1b8e4c6f5b4fe2601e5ee1dacf90bded60f93d
    Closes-Bug: 1795788
    (cherry picked from commit d86285b377221fb5522207a9da6cbfbdea4dd1e9)
    (cherry picked from commit e3326b77086b3865202cff9bce95377937aa6f07)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon stein-eol

This issue was fixed in the openstack/openstack-ansible-os_horizon stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon train-eol

This issue was fixed in the openstack/openstack-ansible-os_horizon train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon ussuri-eol

This issue was fixed in the openstack/openstack-ansible-os_horizon ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon xena-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon xena-eom release.

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.