← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1115519] Re: user delete fails on LDAP when user has assigned roles

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

** Changed in: keystone
    Milestone: None => grizzly-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1115519

Title:
  user delete fails on LDAP when user has assigned roles

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  See assigned patch:

  Failuer is due to the delete loop in ldap/core.py

  class UserAPI:
  ...
    def delete(self, id):
  ...

          for ref in self.role_api.list_project_roles_for_user(id):
              self.role_api.rolegrant_delete(ref.id)

  UserRoleAssignement does not have an id field.

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