Error: Could not find default role "_member_" in Keystone

Bug #1861371 reported by Kevin Chan
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

On initial installation of microstack (sudo snap install microstack --classic --edge). Browsing around the web interface produces error meesage:

Could not find default role "_member_" in Keystone

I am able to trigger this by clicking "Create Project" under the Identity > Projects section. The Create Project modal never comes up and the error is produced.

Manually create the role "_member_" under Identity > Roles. The error goes away and the ability to create a project works as intended.

Snap install information:
Name Version Rev Tracking Publisher Notes
microstack stein 198 edge canonical✓ classic

Revision history for this message
Pen Gale (pengale) wrote :

Thank you for the bug report!

MicroStack is meant to be as minimal a setup of OpenStack as possible, but I think that one could argue that Project creation is something that we want to be enabled out of the box, with no further configuration.

This bug can be close when the _member_ role is created in init.questions.DatabaseSetup.yes in the microstack init script (microstack/tools/init).

Changed in microstack:
status: New → Confirmed
importance: Undecided → Medium
Pen Gale (pengale)
Changed in microstack:
importance: Medium → Wishlist
Revision history for this message
Cyber XML (cyberxml) wrote :

Confirming issue still exists and work around suggested above works.

snap-id: qMvFl14Ge7zDRxjx4AGmBgsa4pNL9cYW
tracking: latest/edge
refresh-date: 41 days ago, at 13:52 MDT
  latest/stable: –
  latest/candidate: –
  latest/beta: stein 2020-03-05 (196) 412MB classic
  latest/edge: stein 2020-03-05 (205) 389MB -
  rocky/stable: –
  rocky/candidate: –
  rocky/beta: –
  rocky/edge: rocky 2019-12-06 (195) 398MB classic
installed: stein (205) 389MB devmode

Revision history for this message
Tytus Kurek (tkurek) wrote :

What is the difference between "member" and "_member_"? It looks like this bug is still valid.

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

Fix proposed to branch: master

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

Submitter: "Zuul (22348)"
Branch: master

commit 4123da81ef8c749f2e9c00ade214f4be8b6b4f2d
Author: Billy Olsen <email address hidden>
Date: Fri Dec 3 13:02:56 2021 -0700

    Use default role of member for horizon

    Default role configured for horizon is set to _member_ but this
    is not a role which is configured in keystone. Change to use the
    default role of 'member'.

    Closes-Bug: #1861371
    Change-Id: I08c171cb58ac669c0425274ebb9ceeb17bb9b3f9

Changed in microstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.