Bug 1727112

Summary: can't uninstall CNV
Product: Container Native Virtualization (CNV) Reporter: Irina Gulina <igulina>
Component: InstallationAssignee: Ohad Levy <ohadlevy>
Status: CLOSED DUPLICATE QA Contact: Irina Gulina <igulina>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: cnv-qe-bugs, rhallise
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: Environment:
Last Closed: 2019-07-04 16:52:50 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:

Description Irina Gulina 2019-07-04 13:37:27 UTC
Description of problem:
can't uninstall CNV

Version-Release number of selected component (if applicable):
bundle 36
# oc version
Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.4", GitCommit:"c9e4f28ff", GitTreeState:"clean", BuildDate:"2019-06-26T23:04:27Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c62ce01", GitCommit:"c62ce01", GitTreeState:"clean", BuildDate:"2019-06-27T18:14:14Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
# kubectl version
Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c9e4f28ff", GitCommit:"c9e4f28ff", GitTreeState:"clean", BuildDate:"2019-06-26T23:04:27Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+c62ce01", GitCommit:"c62ce01", GitTreeState:"clean", BuildDate:"2019-06-27T18:14:14Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}


How reproducible:
tried twice on newly deployed clusters

Steps to Reproduce:
oc -n kubevirt-hyperconverged delete hco hyperconverged-cluster
oc -n kubevirt-hyperconverged delete sub hco-subscription
oc -n openshift-operator-lifecycle-manager delete catsrc hco-catalogsource
oc -n kubevirt-hyperconverged delete og hco-operatorgroup
sleep 60
oc -n kubevirt-hyperconverged delete pod --all
oc delete apiservices v1alpha3.subresources.kubevirt.io

Actual results:
see the attachment, also notice that deployments and replicaset are not removed. 
as well as crs, clusterroles, serviceAccounts and clusterrolebinding. Notice their Age, they are not removed when CNV is uninstalled.

Expected results:
all resources removed, clean ns

Comment 1 Irina Gulina 2019-07-04 16:52:50 UTC
Because of browser glitch BZ was created twice: BZ 1727113
Closing this one.

*** This bug has been marked as a duplicate of bug 1727113 ***