cannot delete a ldap domain with groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Identity (keystone) |
Medium
|
Colleen Murphy |
Bug Description
I setup a domain with domain-specific backends, and configured one with ldap driver.
When I tried to delete the domain, I got an error message:
Failed to delete domain with name or ID '1d97d0d6fdcd40
After some investigation ( thanks @cmurphy ), it turned out that there was an exception raised during the group deletion, here: https:/
Removing groups made the deletion possible.
Dealing with this deletion the same way a user is deleted ( by checking the backend type ) should fix it: https:/
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in keystone: | |
assignee: | nobody → Sami Makki (smakki) |
status: | Triaged → In Progress |
Changed in keystone: | |
assignee: | Sami Makki (smakki) → Colleen Murphy (krinkle) |
Changed in keystone: | |
assignee: | Colleen Murphy (krinkle) → Sami Makki (smakki) |
Changed in keystone: | |
assignee: | Sami Makki (smakki) → Colleen Murphy (krinkle) |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit d6977a0e9b3ed8a
Author: Sami MAKKI <email address hidden>
Date: Wed Oct 16 16:10:15 2019 +0200
Remove group deletion for non-sql driver when removing domains.
As LDAP is now read-only, trying to remove it was throwing an error.
We now only try to delete it when the driver is sql-based.
Change-Id: I15b92b35b31d0e
Closes-bug: #1848238
Changed in keystone: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master /review. opendev. org/688939
Review: https:/