This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2247329 - kubevirt_hco_out_of_band_modifications_total metric doesn't respond
Summary: kubevirt_hco_out_of_band_modifications_total metric doesn't respond
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Metrics
Version: 4.13.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.15.0
Assignee: Nahshon Unna-Tsameret
QA Contact: Ohad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-31 21:49 UTC by Ohad
Modified: 2023-12-05 13:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-05 13:39:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   CNV-34725 0 None None None 2023-12-05 13:39:48 UTC

Description Ohad 2023-10-31 21:49:50 UTC
Description of problem:
While testing this metric, the value doesn't change when trying to check on priority class

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


How reproducible:


Steps to Reproduce:
1.Add invalid labels to priorityclass kubevirt-cluster-critical
for i in {1..5}; do kubectl patch priorityclass kubevirt-cluster-critical --type='json' -p='[{"op": "add", "path": "/metadata/labels/test_label", "value": "testing_invalid_label_'"$i"'"}]'; done

2. check for metric value
3.

Actual results:
no datapoint found

Expected results:
should increase

Additional info:

Comment 1 Krzysztof Majcher 2023-11-21 13:47:34 UTC
Instead of adding additional labels, we should change one of existing HCO labels and the relevant metric should increase.
In case user adds additional label - it should not impact metric.


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