Bug 2030005

Summary: Git Application still appears in Application Table and Resources are Still Seen in Advanced Configuration Upon Deletion after Upgrade from 2.4.0
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Almen Ng <almng>
Component: App LifecycleAssignee: Feng Xiang <fxiang>
Status: CLOSED ERRATA QA Contact: Rafat Islam <rislam>
Severity: medium Docs Contact: bswope <bswope>
Priority: unspecified    
Version: rhacm-2.4.zCC: clasohm, ecai, jayoung, xiangli, yuhe
Target Milestone: ---Flags: almng: rhacm-2.4.z+
Target Release: rhacm-2.4.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-03 06:59:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Application still available in the Application Table, but cannot be removed. none

Description Almen Ng 2021-12-07 19:28:46 UTC
Created attachment 1845123 [details]
Application still available in the Application Table, but cannot be removed.

Description of the problem:
After upgrade from 2.4.0 to 2.4.1 and proper steps to delete a Git application has been made, Git Application and resources are still shown in the UI. The backend shows the correct results.

Release version:
2.4.1 GA

Operator snapshot version:
2.4.1 GA

OCP version:
4.9

Browser Info:
Firefox

Steps to reproduce:
1.Have a Git Application prepared in ACM 2.4.0
2. Upgrade ACM to 2.4.1
3. Delete Git Application from the UI 

Actual results:
Picture is attached.
```
$ oc get application -n auto-git-upgrade-ns
No resources found in auto-git-upgrade-ns namespace
```

Expected results:
The application and all relevant resources should be removed from the UI.


Additional info:
N/A

Comment 1 bot-tracker-sync 2021-12-14 20:03:48 UTC
G2Bsync 993933260 comment 
 almen-ng Tue, 14 Dec 2021 20:01:05 UTC 
 G2Bsync An issue has been opened which is identical to this issue in which the creation is also restricted - https://bugzilla.redhat.com/show_bug.cgi?id=2032537. 

fyi @rafat-islam1 @atifshafi

Comment 4 Rafat Islam 2022-02-10 17:12:06 UTC
Verified in 2.4.2. Search API is working and allows us to create and delete apps from the UI. Once deleted, the apps do not show up in the table

Comment 9 errata-xmlrpc 2022-03-03 06:59:24 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.4.2 security updates 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:0735

Comment 10 Jorge Padilla 2022-03-24 17:07:06 UTC
*** Bug 2046553 has been marked as a duplicate of this bug. ***