DELETE project API is failing in forbidden(403) error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Lance Bragstad |
Bug Description
With ldap as identity backend driver, when some project is deleted using DELETE /v3/projects/
RESP BODY: {"error": {"message": "You are not authorized to perform the requested action.", "code": 403, "title": "Forbidden"}}
In the delete project flow, with change-set[0] a notification action is configured at [1] to clear default project information on all users by invoking respective identity backend driver at [2] in method unset_default_
[0] https:/
[1] https:/
[2] https:/
[3] https:/
Changed in keystone: | |
assignee: | nobody → prashkre (prashkre) |
Changed in keystone: | |
milestone: | pike-3 → pike-rc1 |
Changed in keystone: | |
assignee: | prashkre (prashkre) → nobody |
One possible solution would be to except the Forbidden [0], log a message, and continue on. I'm not sure how much sense it makes to do anything in that case since we don't support writable LDAP.
Keystone must have been configured for ldap as the identity backend and sql as the resource backend, right?
[0] https:/ /github. com/openstack/ keystone/ blob/025e844fc4 85c23be1de03347 3f3cadd7486b642 /keystone/ identity/ backends/ ldap/core. py#L157