← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1330132] Re: Creation of Member role is no longer required

 

Reviewed:  https://review.opendev.org/731146
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=99d4dae684070125f981d4512807a52dede48382
Submitter: Zuul
Branch:    master

commit 99d4dae684070125f981d4512807a52dede48382
Author: Martin Kopec <mkopec@xxxxxxxxxx>
Date:   Wed May 27 10:33:17 2020 +0000

    Change 'Member' role reference to 'member'
    
    'Member' role has been deprecated and replaced by 'member'.
    The patch replaces the leftover occurrences of 'Member' by 'member'.
    
    Change-Id: I857655b8568eb2df1bb9bc263117119388d42f01
    Closes-Bug: #1330132


** Changed in: tempest
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1330132

Title:
  Creation of Member role is no longer required

Status in devstack:
  Invalid
Status in OpenStack Identity (keystone):
  Fix Released
Status in tempest:
  Fix Released

Bug description:
  Since Grizzly the Keystone service's SQL creation/migration scripts
  automatically create a role named _member_ for use as the default
  member role. Since Icehouse (backported to Havana) Horizon uses this
  as the default member role.

  Devstack still creates a Member role, as was previously required:

  318     # The Member role is used by Horizon and Swift so we need to keep it:
  319     MEMBER_ROLE=$(openstack role create \
  320         Member \
  321         | grep " id " | get_field 2)

  As noted above, Horizon no longer uses such a role in the default
  configuration and on investigation the Swift dependency appears to be
  introduced by the way devstack configures Swift.

  As such it should now be possible to stop creating this role (with
  corresponding changes to the Swift setup in devstack) and use _member_
  instead, avoiding the creation (and confusion) of having two member
  roles with different names.

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1330132/+subscriptions