Bug 2149913 - downwardMetrics (vhostmd) VirtProductInfo showing incorrect information
Summary: downwardMetrics (vhostmd) VirtProductInfo showing incorrect information
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.14.0
Assignee: Javier Cano Cano
QA Contact: zhe peng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-01 11:22 UTC by koconnor
Modified: 2023-11-08 14:05 UTC (History)
7 users (show)

Fixed In Version: v4.14.0.rhel9-1569
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 9327 0 None open DownwardMetrics: Replaces the VirtProductInfo with QEMU version. 2023-03-01 16:12:38 UTC
Red Hat Issue Tracker CNV-23052 0 None None None 2022-12-01 11:24:46 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:05:16 UTC

Comment 2 Yan Du 2022-12-07 13:09:21 UTC
DownwardMetrics is the Virt feature, so move the bug to Virt.

Comment 3 sgott 2022-12-07 13:37:14 UTC
Assigning a severity of medium. Please feel free to correct this if that seems wrong.

Comment 5 Javier Cano Cano 2023-03-27 07:27:57 UTC
PR https://github.com/kubevirt/kubevirt/pull/9327 fixing this bug has been merged. The miss displayed information has been replaced by the Qemu version used.

Comment 8 zhe peng 2023-08-22 10:21:41 UTC
Thanks Javier's help, verify with build: CNV-v4.14.0.rhel9-1700

step: 
1: follow doc: https://kubevirt.io/user-guide/virtual_machines/disks_and_volumes/#downwardmetrics
 to create vmi 
2: login vmi and run 
$ sudo vm-dump-metrics
...
<metrics>
  <metric type="string" context="host">
    <name>HostName</name>
    <value>c01-zpeng-414-hp4nz-worker-0-zg68s</value>
  </metric>
  <metric type="string" context="host">
    <name>HostSystemInfo</name>
    <value>linux</value>
  </metric>
  <metric type="string" context="host">
    <name>VirtualizationVendor</name>
    <value>kubevirt.io</value>
  </metric>
  <metric type="string" context="host">
    <name>VirtProductInfo</name>
    <value>QEMU 7.2.0</value>
  </metric>
  <metric type="real64" context="vm" unit="s">
    <name>TotalCPUTime</name>
    <value>67.690000</value>
  </metric>
...

VirtProductionInfo is change to QEMU version. move to verified.

Comment 11 errata-xmlrpc 2023-11-08 14:05:03 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.14.0 Images security and bug fix 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:6817


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