Bug 1863446
Summary: | [Assisted-4.5-M2] clean all does not remove ConfigMaps and PVC | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yuri Obshansky <yobshans> | ||||||||
Component: | assisted-installer | Assignee: | Michael Filanov <mfilanov> | ||||||||
assisted-installer sub component: | assisted-service | QA Contact: | Yuri Obshansky <yobshans> | ||||||||
Status: | CLOSED ERRATA | Docs Contact: | |||||||||
Severity: | high | ||||||||||
Priority: | unspecified | CC: | aos-bugs | ||||||||
Version: | 4.5 | ||||||||||
Target Milestone: | --- | ||||||||||
Target Release: | 4.7.0 | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2021-09-01 18:23:54 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: |
|
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. 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 |
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: