Grenade fails when run with postgresql due to: "No role with a name or ID of 'Member' exists."

Bug #1792983 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grenade
Fix Released
Undecided
Matt Riedemann

Bug Description

Seen here in a job to run grenade with postgresql:

http://logs.openstack.org/24/602124/2/experimental/grenade-postgresql/c7feaa1/logs/grenade.sh.txt.gz#_2018-09-17_14_19_55_271

2018-09-17 14:19:55.271 | + /opt/stack/new/grenade/projects/60_nova/resources.sh:create:87 : openstack role add Member --user e96b2c0c883d4e0b920669dc111f0b01 --project 0836aa828bc44a9bb6843c3250510f24
2018-09-17 14:19:56.720 | No role with a name or ID of 'Member' exists.

Due to change https://review.openstack.org/#/c/576163/ in devstack, the role was renamed from 'Member' to 'member'. The default grenade job runs with mysql which is case insensitive by default, but postgresql is not.

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

Fix proposed to branch: master
Review: https://review.openstack.org/603182

Changed in grenade:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to grenade (master)

Reviewed: https://review.openstack.org/603182
Committed: https://git.openstack.org/cgit/openstack-dev/grenade/commit/?id=f695fa32e0a15470ccaa8091b8a1b41140616286
Submitter: Zuul
Branch: master

commit f695fa32e0a15470ccaa8091b8a1b41140616286
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 17 12:44:40 2018 -0400

    Fix member role usage for postgresql

    Change I3da3530aa73a8a1500116bcefdcba7b947d5e05e in devstack
    renamed the "Member" role to "member" which is OK for MySQL
    which is case insensitive by default, but not postgresql which
    is case sensitive by default. This change fixes the role name
    usage in grenade and also removes the reference to the invalid
    bug against keystone.

    Change-Id: I3e24581c5c77e07edc7c867296e066f40acbbc29
    Closes-Bug: #1792983

Changed in grenade:
status: In Progress → Fix Released
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.