Bug 2141302 - Unhealthy states alerts and state metrics are missing
Summary: Unhealthy states alerts and state metrics are missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Metrics
Version: 4.11.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.12.0
Assignee: João Vilaça
QA Contact: Ohad
URL:
Whiteboard:
Depends On:
Blocks: 2142918
TreeView+ depends on / blocked
 
Reported: 2022-11-09 12:57 UTC by João Vilaça
Modified: 2023-01-24 13:42 UTC (History)
4 users (show)

Fixed In Version: hco-bundle-registry-container-v4.12.0-760
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2142918 (view as bug list)
Environment:
Last Closed: 2023-01-24 13:42:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 7918 0 None Merged Add alerts for VMs unhealthy states 2022-12-12 15:14:54 UTC
Github kubevirt kubevirt pull 8747 0 None Merged [release-0.58] Add alerts for VMs unhealthy states 2022-12-12 15:14:54 UTC
Red Hat Issue Tracker CNV-22368 0 None None None 2022-11-09 13:08:57 UTC
Red Hat Product Errata RHSA-2023:0408 0 None None None 2023-01-24 13:42:18 UTC

Description João Vilaça 2022-11-09 12:57:12 UTC
Description of problem: Unhealthy states metrics are missing

Version-Release number of selected component (if applicable): 4.11

How reproducible: 100%

Steps to Reproduce:
1. Create any VMs
2. Check if any KubeVirtVMStuckIn${state}State alerts or kubevirt_vm_${state}_status_last_transition_timestamp_seconds metrics exist

Actual results:
Metrics and alerts don't exist

Expected results:
Metrics and alerts exist


Additional info:

metrics list:

kubevirt_vm_error_status_last_transition_timestamp_seconds
kubevirt_vm_migrating_status_last_transition_timestamp_seconds
kubevirt_vm_non_running_status_last_transition_timestamp_seconds
kubevirt_vm_running_status_last_transition_timestamp_seconds
kubevirt_vm_starting_status_last_transition_timestamp_seconds

alert list:

KubeVirtVMStuckInErrorState
KubeVirtVMStuckInMigratingState
KubeVirtVMStuckInStartingState

Comment 1 Ohad 2022-12-01 15:41:06 UTC
Tried on CNV-v4.12.0-745 and the still get the bug, created 2 vm's and looked for the alerts and metrics and still doesn't exist.

Comment 2 João Vilaça 2022-12-06 14:22:57 UTC
On CNV Version Explorer I see that no v4.12 build has that PR already. So we need to wait for a new build that has it

Comment 6 errata-xmlrpc 2023-01-24 13:42:07 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 (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


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