Bug 2122422

Summary: [RFE] Detect if worker is a VM/Instance and warn the user
Product: Container Native Virtualization (CNV) Reporter: Germano Veit Michel <gveitmic>
Component: VirtualizationAssignee: João Vilaça <jvilaca>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10.4CC: dbasunag, fdeutsch, kmajcher, sasundar, stirabos
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-27 08:28:17 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:

Comment 3 Krzysztof Majcher 2022-08-30 12:39:39 UTC
Let's try to implement alert that will fullfil the request.
Then it needs to be decided if it has to be backported.

Comment 4 ctomasko 2022-09-07 15:25:02 UTC
If you decide to add an alert, please clone this issue or create a new issue for the documentation team to add the alert to the product documentation. Thank you

Comment 5 Simone Tiraboschi 2022-09-13 15:41:26 UTC
We have two distinct personas here:
- The cluster admin that installs our operator. We should cover it with the health metric
- A regular user that tries to start a VM. Maybe make the error more evident also here

Comment 8 Kedar Bidarkar 2023-02-22 13:21:48 UTC
We are moving this to 4.14 due to capacity, planning and priority.

Comment 9 Fabian Deutsch 2023-06-27 08:28:17 UTC
Tracked and closed in https://issues.redhat.com/browse/CNV-20923

Comment 10 Fabian Deutsch 2023-06-27 08:28:46 UTC
With CNV-22382 a new alert `KubeVirtNoAvailableNodesToRunVMs` got introduced and will fire if no nodes suitable for VMs are available.
Runbook: https://github.com/kubevirt/monitoring/blob/main/docs/runbooks/KubeVirtNoAvailableNodesToRunVMs.md

Please note that the alert is checking for bare metal nodes OR emulation mode being enabled.