Description of problem: Alert `NodeTextFileCollectorScrapeError` is experienced in the cluster. The alert is associated with the worker nodes which are baremetal RHEL. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: The `virt.prom` shows parsing error. Expected results: The `virt.prom` should not cause any error. Additional info:
> maybe we should change to > echo "${line//\\/}" >>"${v}" Yes, that makes sense. I already updated my PR. > and I still doubt "-[" and "]-" are unnecessary This is what is reported and we shouldn't manipulate data more than it is required by prometheus.
tested with 4.7.0-0.nightly-2021-01-25-212451, issue is fixed
*** Bug 1928077 has been marked as a duplicate of this bug. ***
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.7.0 security, bug fix, and enhancement 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-2020:5633