Created attachment 1703961 [details] Config Maps Description of problem: clean-all doesn't remove part of resources in project [root@seal55 bm-inventory]# make clear-all TARGET=oc-ingress APPLY_NAMESPACE=False NAMESPACE=assisted-installer-qe INGRESS_DOMAIN=apps.ocp.prod.psi.redhat.com rm -rf /home/bm-inventory/build kubectl -n assisted-installer-qe get pod -o name | grep create-image | xargs kubectl -n assisted-installer-qe delete 1> /dev/null || true error: You must provide one or more resources by argument or filename. Example resource specifications include: '-f rsrc.yaml' '--filename=rsrc.json' '<resource> <name>' '<resource>' kubectl -n assisted-installer-qe get pod -o name | grep generate-kubeconfig | xargs kubectl -n assisted-installer-qe delete 1> /dev/null || true python3 ./tools/clear_deployment.py --delete-namespace False --namespace "assisted-installer-qe" || true See attached screenshots Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 1703962 [details] PVC
Created attachment 1703972 [details] Overall status of project after clean-all
APPLY_NAMESPACE=False define that we don't remove the namespace - so not all the resources are deleted. PVC is defined not to be deleted in order to support upgrades. I'll check regarding the configmap.
https://github.com/openshift/assisted-service/pull/153
Fixed the script to delete configmaps, but as i said the PVC will still exist and it's part of the design
Verified on master August 19, 2020
OpenShift engineering has decided to NOT ship 4.8.6 on 8/23 due to the following issue. https://bugzilla.redhat.com/show_bug.cgi?id=1995785 All the fixes part will be now included in 4.8.7 on 8/30.
OpenShift engineering has decided to NOT ship 4.7.25 on 8/24 due to the following issue. https://bugzilla.redhat.com/show_bug.cgi?id=1995785 All the fixes part will be now included in 4.7.26 on 8/31.
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: OpenShift Container Platform 4.7.28 security update), 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-2021:3262