Bug 1975536
Summary: | [Service Catalog] Remove stale cruft installed by CVO in earlier releases | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jack Ottofaro <jack.ottofaro> | ||||
Component: | Service Catalog | Assignee: | Jesus M. Rodriguez <jesusr> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fan Jia <jfan> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 4.9 | CC: | aos-bugs, mfojtik, sttts, xxia, yanyang | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1975533 | Environment: | |||||
Last Closed: | 2022-02-17 01:01:10 UTC | Type: | --- | ||||
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: | 1975533 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Jack Ottofaro
2021-06-23 21:18:20 UTC
Service catalog is removed from OCP since 4.5. I think this bug could be closed. (In reply to Fan Jia from comment #1) > Service catalog is removed from OCP since 4.5. I think this bug could be > closed. CVO now implemented the way to remove the no longer used resources to avoid resources leaking after cluster upgrades. Please refer to https://github.com/openshift/cluster-version-operator/blob/master/docs/dev/object-deletion.md. To make it worked in service catalog, you need to reinsert those removed yaml but add the delete annotaion. To clean up the servicecatalog remover jobs you can do the following: # remove the clusterrolebindings oc delete clusterrolebinding system:openshift:operator:openshift-service-catalog-apiserver-remover oc delete clusterrolebinding system:openshift:operator:openshift-service-catalog-controller-manager-remover # remove the service accounts oc delete serviceaccount openshift-service-catalog-apiserver-remover -n openshift-service-catalog-removed oc delete serviceaccount openshift-service-catalog-controller-manager-remover -n openshift-service-catalog-removed # remove the namespace oc delete namespace openshift-service-catalog-removed The CVO feature to cleanup these resources was done after servicecatalog was removed from the product. We are no longer maintaining these operators or jobs. I'm closing this bug as wontfix since there is a work around. |