Public bug reported:

Keystone cleans up role assignments a group has on projects and domains
when deleting the group. This isn't true for system role assignments.
Instead, they are left after the group is deleted. I recreate the issue
by doing the following with a basic devstack install:

$ openstack group create testers
$ openstack role add --group testers --system all admin
$ openstack role assignment list --names (testers will have an assignment on 
the system)
$ openstack group delete testers
$ openstack role assignment list --names (an empty group assignment will exist 
on the system)

Paste recreating the issue [0].

[0] http://paste.openstack.org/raw/671041/

** Affects: keystone
     Importance: High
         Status: Triaged

** Changed in: keystone
    Milestone: None => queens-rc2

** Changed in: keystone
       Status: New => Triaged

** Changed in: keystone
   Importance: Undecided => High

-- 
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/1749267

Title:
  System role assignments exist after removing groups

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
  Keystone cleans up role assignments a group has on projects and
  domains when deleting the group. This isn't true for system role
  assignments. Instead, they are left after the group is deleted. I
  recreate the issue by doing the following with a basic devstack
  install:

  $ openstack group create testers
  $ openstack role add --group testers --system all admin
  $ openstack role assignment list --names (testers will have an assignment on 
the system)
  $ openstack group delete testers
  $ openstack role assignment list --names (an empty group assignment will 
exist on the system)

  Paste recreating the issue [0].

  [0] http://paste.openstack.org/raw/671041/

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to