← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1878938] [NEW] System role assignments exist after system role delete

 

Public bug reported:

How to reproduce:

1. Create role:
openstack role create dumb_reader
2. Create system role assignment
openstack role add --system all --user admin dumb_reader
3. Check role:
openstack role assignment list --system all
4. Delete role:
openstack role delete dumb_reader

What is expected:
All role assignments with the deleted role are removed.

What is in the reality:
System role assignments are left in the keystone.system_assignment table.

Version of the Keystone: stable/train

** Affects: keystone
     Importance: Undecided
         Status: New

** Summary changed:

- System role assignments are left after system role delete
+ System role assignments exist after system role delete

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

Title:
  System role assignments exist after system role delete

Status in OpenStack Identity (keystone):
  New

Bug description:
  How to reproduce:

  1. Create role:
  openstack role create dumb_reader
  2. Create system role assignment
  openstack role add --system all --user admin dumb_reader
  3. Check role:
  openstack role assignment list --system all
  4. Delete role:
  openstack role delete dumb_reader

  What is expected:
  All role assignments with the deleted role are removed.

  What is in the reality:
  System role assignments are left in the keystone.system_assignment table.

  Version of the Keystone: stable/train

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


Follow ups