Bug 1685911
| Summary: | Allow uninstallation of KubeVirt by deleting the namespace | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Yan Du <yadu> |
| Component: | Virtualization | Assignee: | Fabian Deutsch <fdeutsch> |
| Status: | CLOSED DUPLICATE | QA Contact: | Israel Pinto <ipinto> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.4 | CC: | cnv-qe-bugs, dvossel, eudyonasi123, fdeutsch, igulina, ncredi, sgott |
| Target Milestone: | --- | Keywords: | RFE |
| Target Release: | 2.1.0 | ||
| 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-23 12:13:15 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
Yan Du
2019-03-06 09:44:58 UTC
And a question about the apiversion, seems there are two api versions, is it by designed? $ oc get apiservices v1alpha1.kubevirt.io NAME CREATED AT v1alpha1.kubevirt.io 2019-03-06T03:06:17Z $ oc get apiservices v1alpha3.kubevirt.io NAME CREATED AT v1alpha3.kubevirt.io 2019-03-06T03:05:14Z David, any idea? Something is wrong with this environment if there are two versions of the kubevirt.io apiservice. For me, that indicates something hasn't been cleaned up properly from a previous kubevirt install. I'm really not sure what's going on here. Why are we trying to delete the kubevirt namespace? That's not really the proper way to deprovision KubeVirt. (In reply to David Vossel from comment #4) > Something is wrong with this environment if there are two versions of the > kubevirt.io apiservice. For me, that indicates something hasn't been cleaned > up properly from a previous kubevirt install. > I have checked the upstream env (deploy by kubevirt-ansible on a fresh OCP env), there are still two apiversion there. > > I'm really not sure what's going on here. Why are we trying to delete the > kubevirt namespace? That's not really the proper way to deprovision > KubeVirt. Yes, the best way to deprovison kubevirt is using the kubevirt-ansbile playbook. Maybe deleting the project is a abnormal operation, but what if the user does that? Seems there is no appropriate way to recover the env except re-installing a new one. *** Bug 1712429 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1712429 *** You can delete them directly: kubectl / oc delete apiservices.apiregistration.k8s.io v1.subresources.kubevirt.io v1alpha3.subresources.kubevirt.io |