Bug 1951486

Summary: Replace "kubevirt_vmi_network_traffic_bytes_total" with new metrics names
Product: OpenShift Container Platform Reporter: Yaacov Zamir <yzamir>
Component: Console Kubevirt PluginAssignee: Matan Schatzman <mschatzm>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: low    
Version: 4.8CC: aos-bugs, gouyang, ycui
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:02:11 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:

Description Yaacov Zamir 2021-04-20 09:04:17 UTC
Description of problem:
https://issues.redhat.com/browse/CNV-8954
in CNV 4.8 metrics names will be changed, and we need to update the metrics we collect:

"kubevirt_vmi_network_traffic_bytes_total" is replace with "kubevirt_vmi_network_receive_bytes_total" and "kubevirt_vmi_network_transmit_bytes_total" in the UI.
https://github.com/openshift/console/blob/0c96542f1d3a549d3312313bdc272f9457220e33/frontend/packages/kubevirt-plugin/src/components/dashboards-page/vm-dashboard/queries.ts#L25

The metric "kubevirt_vmi_network_traffic_bytes_total" will be deprecated in 2 CNV versions.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ying Cui 2021-04-21 07:35:32 UTC
Note: current the bug is low, the metric will be deprecated in 4.10 version, so in 4.10, it should be high.

Comment 3 Guohua Ouyang 2021-05-19 10:53:29 UTC
The network traffic is showing on VM dashboard with the name changed, move to verified.

Comment 6 errata-xmlrpc 2021-07-27 23:02:11 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and 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-2021:2438