Bug 2142918 - Unhealthy states alerts and state metrics are missing
Summary: Unhealthy states alerts and state metrics are missing
Keywords:
Status: CLOSED DEFERRED
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.11.4
Assignee: João Vilaça
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 2141302
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-15 13:47 UTC by Krzysztof Majcher
Modified: 2023-02-21 14:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2141302
Environment:
Last Closed: 2023-02-21 14:23:14 UTC
Target Upstream Version:
Embargoed:
jvilaca: needinfo?
kmajcher: needinfo-


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 2023-01-19 11:19:04 UTC
Github kubevirt kubevirt pull 8747 0 None Merged [release-0.58] Add alerts for VMs unhealthy states 2023-01-19 11:19:03 UTC
Github kubevirt kubevirt pull 8963 0 None closed [release-0.53] Add alerts for VMs unhealthy states 2023-02-23 11:15:26 UTC
Red Hat Issue Tracker CNV-22521 0 None None None 2022-11-15 19:34:22 UTC

Description Krzysztof Majcher 2022-11-15 13:47:51 UTC
+++ This bug was initially created as a clone of Bug #2141302 +++

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 Krzysztof Majcher 2022-11-29 13:53:24 UTC
For 4.11 release we need to have it backported to release-0.53 of kubevirt

Comment 2 Krzysztof Majcher 2022-12-06 13:45:11 UTC
The orginal bug was failed on QE, so we need to fix it again and backport also here.

Comment 5 Krzysztof Majcher 2023-02-07 13:42:51 UTC
Do we know if concerns from Roman has been addressed?


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