`NodeTextFileCollectorScrapeError` alert in RHOCP 4.6 cluster.

Solution Verified - Updated -

Issue

  • Node exporter pod shows below error logs:
level=error ts=2021-02-11T09:29:30.826Z caller=textfile.go:209 collector=textfile msg="failed to collect textfile data" file=virt.prom err="failed to parse textfile data from \"/var/node_exp
orter/textfile/virt.prom\": text format parsing error in line 3: invalid escape sequence '\\,'"
level=error ts=2021-02-11T09:29:37.367Z caller=textfile.go:209 collector=textfile msg="failed to collect textfile data" file=virt.prom err="failed to parse textfile data from \"/var/node_exp
orter/textfile/virt.prom\": text format parsing error in line 3: invalid escape sequence '\\,'"
level=error ts=2021-02-11T09:29:45.826Z caller=textfile.go:209 collector=textfile msg="failed to collect textfile data" file=virt.prom err="failed to parse textfile data from \"/var/node_exp
orter/textfile/virt.prom\": text format parsing error in line 3: invalid escape sequence '\\,'"
level=error ts=2021-02-11T09:29:52.365Z caller=textfile.go:209 collector=textfile msg="failed to collect textfile data" file=virt.prom err="failed to parse textfile data from \"/var/node_exp
orter/textfile/virt.prom\": text format parsing error in line 3: invalid escape sequence '\\,'"

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content