Admin role name is case-sensitive

Bug #1354549 reported by Joseph bajin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
Joseph bajin

Bug Description

Both the database and the keystone client's do not care if the role "admin" is uppercase or lowercase, rally does. A user can not create a "admin" role when the role "Admin" already exists. This causes a failure with the following error:

2014-08-08 12:33:50.900 12819 CRITICAL rally [-] TempestConfigCreationFailure: Admin permission is required to generate tempest configuration file. User admin doesn't have admin role.

Changed in rally:
assignee: nobody → Joseph bajin (josephbajin)
Changed in rally:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to rally (master)

Reviewed: https://review.openstack.org/112999
Committed: https://git.openstack.org/cgit/stackforge/rally/commit/?id=4767eeea3be1952112a0c3a88ea7327de8689e80
Submitter: Jenkins
Branch: master

commit 4767eeea3be1952112a0c3a88ea7327de8689e80
Author: Joseph Bajin <email address hidden>
Date: Fri Aug 8 14:25:36 2014 -0400

    Fixes the check for admin role to be case-insenstive

    Lowercases every item from the role list that is compared with admin
    Closes-bug: #1354549

    Change-Id: Idb5497552772ed9e82ebebbfc0b3ea3a85af752b

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