Bug 1971667 - Delete HCO is stucking if there is still VM in the cluster
Summary: Delete HCO is stucking if there is still VM in the cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.z
Assignee: ralpert
QA Contact: Yadan Pei
URL:
Whiteboard: Scrubbed
Depends On: 1939753
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-14 14:18 UTC by Samuel Padgett
Modified: 2021-06-29 04:20 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1939753
Environment:
Last Closed: 2021-06-29 04:20:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9232 0 None open Bug 1971667: Track and show error messages in modals 2021-06-14 14:52:29 UTC
Red Hat Product Errata RHBA-2021:2502 0 None None None 2021-06-29 04:20:35 UTC

Comment 2 Yadan Pei 2021-06-18 05:57:38 UTC
1. Install 'OpenShift Virtualization' operator from OperatorHub
2. once installed successfully, create a HyperConverged
3. after HyperConverged is created, go to workloads>virtualization and create a VM
4. when VM is running, go to Installed Operator and try to delete the HyperConverge, we will see an error message in the delete modal and  HyperConverge is not removed:

An error occurred
admission webhook "validate-hco.kubevirt.io" denied the request: admission webhook "kubevirt-validator.kubevirt.io" denied the request: Rejecting the uninstall request, since there are still Virtual Machine Instances present. Either delete all KubeVirt related workloads or change the uninstall strategy before uninstalling KubeVirt.

Verified on     4.7.0-0.nightly-2021-06-17-173140

Comment 5 errata-xmlrpc 2021-06-29 04:20:27 UTC
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 Container Platform 4.7.18 bug fix 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/RHBA-2021:2502


Note You need to log in before you can comment on or make changes to this bug.