+++ This bug was initially created as a clone of Bug #1789083 +++ When we fixed the last bug in the virt_platform node_exporter metric, we accidentally broke the type="none" calculation. We need to fix this and back port to 4.2.
tested with the fix on 4.3.0-0.nightly-2020-02-23-174848, we can find virt_platform{type="none"} in /var/node_exporter/textfile/virt.prom file of node-exporter pods # HELP virt_platform reports one series per detected virtualization type. If no type is detected, the type is "none". # TYPE virt_platform gauge virt_platform{type="none"} 1
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, 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/RHBA-2020:0676