Bug 1879958
Summary: | [CNV-2.5][Uninstall] It is not possible to uninstall CNV from OCP-4.6-fc.5 | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Lukas Bednar <lbednar> |
Component: | Installation | Assignee: | Simone Tiraboschi <stirabos> |
Status: | CLOSED ERRATA | QA Contact: | Inbar Rose <irose> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 2.5.0 | CC: | cnv-qe-bugs, fdeutsch, lbednar, ncredi, stirabos |
Target Milestone: | --- | ||
Target Release: | 2.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | hco-bundle-registry:v2.5.0-210 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-17 13:24:24 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
Lukas Bednar
2020-09-17 12:46:03 UTC
It's really a corner case that is not going to happen if: - HCO delete request can reach CDI webhook - OLM is not going to kill HCO continuously so that it can miss some validation request I think it's still worth to fix it simply setting failurePolicy=Fail to implicitly refuse all the delete request that missed the webhook validation as virt operator and CDI operator are doing. The root cause here is that currently we have one policy on CDI operator and a different one on HCO side and on corner cases the user can get stuck in the middle. CDI operator is is not failing in HCO-v2.5.0-210, so I can not really verify that fix. So at least here is the prove that failurePolicy on validation webhook is set to Fail. oc get csv -o yaml -n openshift-cnv kubevirt-hyperconverged-operator.v2.5.0 .... TRIMMED ... - admissionReviewVersions: - v1beta1 - v1 containerPort: 4343 deploymentName: hco-operator failurePolicy: Fail <<<< HERE generateName: validate-hco.kubevirt.io rules: - apiGroups: - hco.kubevirt.io apiVersions: - v1alpha1 - v1beta1 operations: - CREATE - DELETE resources: - hyperconvergeds sideEffects: None timeoutSeconds: 30 type: ValidatingAdmissionWebhook webhookPath: /validate-hco-kubevirt-io-v1beta1-hyperconverged .... TRIMMED ... Verified on hco-v2.5.0-222 . 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 (OpenShift Virtualization 2.5.0 Images), 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/RHEA-2020:5127 |