Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2002960

Summary: Removing a site involves manual cleanup actions
Product: OpenShift Container Platform Reporter: Marius Cornea <mcornea>
Component: Telco EdgeAssignee: Vitaly Grinberg <vgrinber>
Telco Edge sub component: ZTP QA Contact: Marius Cornea <mcornea>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aos-bugs, eparis, nstielau, vgrinber
Version: 4.8   
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2062364 (view as bug list) Environment:
Last Closed: 2022-03-17 06:35:41 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:
Bug Depends On: 2062364    
Bug Blocks:    

Description Marius Cornea 2021-09-10 08:54:38 UTC
Description of problem:

According to https://github.com/openshift-kni/cnf-features-deploy/tree/master/ztp/gitops-subscriptions/argocd#pipeline-teardown removing a site involves:

Detach cluster from ACM
Delete SiteConfig and PolicyGenTemplate CRs from GIT
Delete namespaces

With the Gitops approach I would expect that removing SiteConfig and PolicyGenTemplate CRs from GIT would also trigger the rest of the clean up actions such as detaching the cluster from ACM and cleaning up the rest of the resources in the namespace.

Comment 1 Nick Stielau 2021-10-07 17:18:32 UTC
Assuming not a blocker for 4.9.  Please look for blocker? BZs and make a blocker determination.

Comment 6 Marius Cornea 2022-03-15 13:22:37 UTC
verified with registry-proxy.engineering.redhat.com/rh-osbs/openshift4-ztp-site-generate:v4.9.0-42

Comment 8 errata-xmlrpc 2022-03-17 06:35:41 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 (4.9 Z Stream bugfixes for Telco RAN), 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:0954