Horizon uses wrong value of OPENSTACK_KEYSTONE_DEFAULT_ROLE

Bug #1957173 reported by Vishal Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Unassigned

Bug Description

Horizon uses '_member_' as default value of OPENSTACK_KEYSTONE_DEFAULT_ROLE.
So if a user tries to create a new project leads to
"horizon.exceptions.NotFound: Could not find default role '_member_' in Keystone" [1] error.

horizon must use OPENSTACK_KEYSTONE_DEFAULT_ROLE = 'member' to fix it.

[1] https://paste.opendev.org/show/812074/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/horizon/+/824432

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.opendev.org/c/openstack/horizon/+/824432
Committed: https://opendev.org/openstack/horizon/commit/a375c5418633f8b15c7255030ecc008e20ccc806
Submitter: "Zuul (22348)"
Branch: master

commit a375c5418633f8b15c7255030ecc008e20ccc806
Author: manchandavishal <email address hidden>
Date: Wed Jan 12 18:32:52 2022 +0530

    Update default value of OPENSTACK_KEYSTONE_DEFAULT_ROLE

    This patch update default value of OPENSTACK_KEYSTONE_DEFAULT_ROLE
    to 'member' from '_member_'. If a user tries to create a new project now
    it leads to "Could not find default role "_member_" in Keystone" error.

    Also long time ago keystone-bootstrap changed the default member role
    that is created to member from the legacy _member_ role. Any deployments
    that might still be using _member_ should set this explicitly.

    Closes-Bug: #1957173
    Change-Id: I1fc7f44326b82ceb303f8d663ff0b42f0bdf7855

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 22.0.0

This issue was fixed in the openstack/horizon 22.0.0 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.