Bug 2149913

Summary: downwardMetrics (vhostmd) VirtProductInfo showing incorrect information
Product: Container Native Virtualization (CNV) Reporter: koconnor
Component: VirtualizationAssignee: Javier Cano Cano <jcanocan>
Status: CLOSED ERRATA QA Contact: zhe peng <zpeng>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10.0CC: acardace, dholler, jcanocan, stirabos, yadu, ycui, zpeng
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.14.0.rhel9-1569 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:05:03 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:

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