Created attachment 1587375 [details] uninstall logs 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
*** Bug 1727112 has been marked as a duplicate of this bug. ***
Running $ oc -n kubevirt-hyperconverged delete hco hyperconverged-cluster and $oc -n kubevirt-hyperconverged delete sub hco-subscription without a wait will cause resources to hang around. Can you test this from the UI?
Ryan, uninstall via WEB UI works fine. for CLI I have added sleep 120 to every delete command, it still doesn't work, see the new attachment, please. Also mind, that cleanup-hco script worked fine before and without any delays after hco and sub removing, Lev used it too: BZ 1712429#c2
Created attachment 1588309 [details] uninstall logs with sleep
I'm getting a TLS error the cluster. Sorry I didn't to this sooner. Looking at the script Irina, the command: $ oc -n kubevirt-hyperconverged delete sub hco-subscription, should've cleaned up the operators, but it didn't. After you run that command, you post the logs from $ oc logs $(oc get pods -n openshift-operator-lifecycle-manager | grep olm-operator- | awk '{print $1}') -n openshift-operator-lifecycle-manager
Created attachment 1589909 [details] logs for comment #6 Ryan, see logs attached please.
Moving this one to Verified with a newly opened https://bugzilla.redhat.com/show_bug.cgi?id=1755009