Bug 1924658 - Unable to delete keystone domains
Summary: Unable to delete keystone domains
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: zstream
: 16.2 (Train on RHEL 8.4)
Assignee: Grzegorz Grasza
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-03 11:52 UTC by Srinivas Atmakuri
Modified: 2023-01-12 12:56 UTC (History)
9 users (show)

Fixed In Version: openstack-keystone-16.0.3-2.20210910184811.acef9c6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-23 22:10:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1848238 0 None None None 2021-07-15 08:44:57 UTC
OpenStack gerrit 800861 0 None NEW Remove group deletion for non-sql driver when removing domains. 2021-09-10 07:52:45 UTC
Red Hat Issue Tracker OSP-179 0 None None None 2021-11-18 14:20:54 UTC
Red Hat Product Errata RHBA-2022:1001 0 None None None 2022-03-23 22:10:32 UTC

Description Srinivas Atmakuri 2021-02-03 11:52:50 UTC
Description of problem:
Unable to delete the keystone domains, facing the below error.,

~~~
/var/log/containers/keystone/keystone.log:2020-10-15 10:10:51.661 23 WARNING py.warnings [req-9b530880-1ff1-4f79-aec6-1573cb4a0f7a <> <> - default default] /usr/lib/python2.7/site-packages/oslo_policy/policy.py:869: UserWarning: Policy identity:delete_domain failed scope check. The token used to make the request was project scoped but the policy requires ['system'] scope. This behavior may change in the future where using the intended scope is required
~~~

Version-Release number of selected component (if applicable):
Red Hat OpenStack Platform - 13

How reproducible:
Not Always

Steps to Reproduce:
1.Created an LDAP domain for keystone via director templates
2.openstack domain delete <>

Actual results:
Expect the domain and the shadow users to get deleted

Expected results:
domain is un-deleted

Additional info:
The system expects a system scope token instead of a project scope, and using the system scope token gives the below error.,
{"error": {"message": "You are not authorized to perform the requested action.", "code": 403, "title": "Forbidden"}}

Comment 18 Grzegorz Grasza 2021-05-11 11:46:29 UTC
Setting this to needinfo until the customer gets back to us.

Comment 39 errata-xmlrpc 2022-03-23 22:10:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.2), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1001


Note You need to log in before you can comment on or make changes to this bug.