Bug 2081938 - The deleted policy still be shown on the policyset review page when edit this policy set
Summary: The deleted policy still be shown on the policyset review page when edit this...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Console
Version: rhacm-2.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: rhacm-2.5
Assignee: Kevin Cormier
QA Contact: Xiang Yin
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-05 03:47 UTC by yahliu
Modified: 2022-06-09 02:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-09 02:11:58 UTC
Target Upstream Version:
Embargoed:
bot-tracker-sync: rhacm-2.5+
yahliu: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github stolostron backlog issues 22241 0 None None None 2022-05-05 07:12:07 UTC
Red Hat Product Errata RHSA-2022:4956 0 None None None 2022-06-09 02:12:10 UTC

Comment 1 bot-tracker-sync 2022-05-05 20:18:43 UTC
G2Bsync 1118915718 comment 
 zlayne Thu, 05 May 2022 18:29:05 UTC 
 `G2Bsync` @yahliu I am not seeing this issue on the May 5th build. Could you please verify this is still occurring on most recent build?

Comment 2 yahliu 2022-05-09 02:06:50 UTC
Hi @zlayne  This issue is also reproduced on 2.5.0-DOWNSTREAM-2022-05-06-05-02-19. 

Reproduce steps: 
 1. Create two policies( grc-1 and grc-2) in default namespace 
 2. Create one policy set includes these two policies. 
 3. Delete grc-2 policy 
 4. Go to policy sets page, edit this policy set, modify some description and then go next, next until Review page. 
 5. You will see grc-2 policy still be displayed in this page.

Comment 3 bot-tracker-sync 2022-05-10 15:05:41 UTC
G2Bsync 1122328386 comment 
 zlayne Tue, 10 May 2022 12:30:35 UTC 
 `G2Bsync` We have included a couple changes to allow the user to unselect a deleted policy from the PolicySet during the `Policies` step in the wizard. 
However, the PolicySet operator does not automatically delete a policy from a PolicySet. So it would be expected that the review step will show deleted Policies if the user doesn't manually remove them. 
Please let me know if you have any questions about this. Otherwise please close once verified.

Comment 9 zlayne 2022-05-12 18:44:31 UTC
With the current implementation the user will be able to unselect the deleted policy from the Policies step. We will add a warning alert above the selected policies to note to the user they have selected policies that are missing

Comment 10 Kevin Cormier 2022-05-13 13:02:48 UTC
Ready to verify again in builds from May 13 onwards.

Comment 13 yahliu 2022-05-16 03:56:20 UTC
Verified on 2.5.0-DOWNSTREAM-2022-05-13-16-47-16

Comment 17 errata-xmlrpc 2022-06-09 02:11:58 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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes), 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/RHSA-2022:4956


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