Bug 2122236
Summary: | Failing to delete HCO with SSP sticking around | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Alex Kalenyuk <akalenyu> |
Component: | SSP | Assignee: | Andrej Krejcir <akrejcir> |
Status: | CLOSED ERRATA | QA Contact: | zhe peng <zpeng> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.12.0 | CC: | akrejcir, gkapoor, kbidarka, stirabos |
Target Milestone: | --- | ||
Target Release: | 4.12.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kubevirt-ssp-operator-container-v4.12.0-45 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-01-24 13:39:56 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
Alex Kalenyuk
2022-08-29 15:02:07 UTC
SSP needs CDI to work correctly. It waits until CDI CRDs are installed, but there is no logic to react to deletion of these CRDs while SSP is running. Simone, could HCO be modified, to first delete SSP and wait until it is removed, and then remove CDI? (In reply to Andrej Krejcir from comment #5) > SSP needs CDI to work correctly. It waits until CDI CRDs are installed, but > there is no logic to react to deletion of these CRDs while SSP is running. > > Simone, could HCO be modified, to first delete SSP and wait until it is > removed, and then remove CDI? We are trying, as much as possible, to avoid this kind of interdependencies on creation/deletion orders to avoid to have to track and sync different asynchronous operations. verify with build: OCP-4.12.0-rc.0 CNV-v4.12.0-693 step: 1. Set the 'uninstallStrategy' of HCO CR to 'RemoveWorkloads' # oc edit hco kubevirt-hyperconverged -n openshift-cnv 2. Remove the HCO CR $oc delete hyperconvergeds --all-namespaces --all --ignore-not-found hyperconverged.hco.kubevirt.io "kubevirt-hyperconverged" deleted check HCO is removed $ oc edit hco kubevirt-hyperconverged -n openshift-cnv Error from server (NotFound): hyperconvergeds.hco.kubevirt.io "kubevirt-hyperconverged" not found check ssp is removed $ oc get ssp -A No resources found repeat 5 times, no issues found,HCO and ssp all removed. Move bug to verified. 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 Virtualization 4.12.0 Images 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-2023:0408 |