Bug 2254031

Summary: repeated log for unknown NFSd metric line wdeleg_getattr
Product: [Fedora] Fedora Reporter: Barry Scott <barry>
Component: golang-github-prometheus-node-exporterAssignee: Mark E. Fuller <mark.e.fuller>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: go-sig, mark.e.fuller, mikel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: golang-github-prometheus-node-exporter-1.6.1-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-21 03:59:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Barry Scott 2023-12-11 16:02:54 UTC
This log is happening every time node exported polls, every minute in my case.

prometheus-node-exporter[13178]: ts=2023-12-11T15:58:45.648Z caller=collector.go:169 level=error msg="collector failed" name=nfsd duration_seconds=4.5445e-05 err="failed to retrieve nfsd stats: unknown NFSd metric line \"wdeleg_getattr\""



Reproducible: Always

Steps to Reproduce:
1.configure and run node exporter
2.
3.
Actual Results:  
prometheus-node-exporter[13178]: ts=2023-12-11T15:58:45.648Z caller=collector.go:169 level=error msg="collector failed" name=nfsd duration_seconds=4.5445e-05 err="failed to retrieve nfsd stats: unknown NFSd metric line \"wdeleg_getattr\""



Expected Results:  
no log generated


Update to either not log for this missing field or not try to get this field at all.

Comment 1 Mikel Olasagasti Uranga 2023-12-11 17:13:53 UTC
Fixed in rawhide with golang-github-prometheus-procfs-0.12 and newer node-exporter built with that procfs package.

Issue introduced with kernel 6.6 and reported upstream https://github.com/prometheus/node_exporter/issues/2799 

Fix: https://github.com/prometheus/procfs/pull/574

I can try to backport newer procfs & node-exporter to F39. Part is already done in https://bodhi.fedoraproject.org/updates/FEDORA-2023-833c31bec9 but can take some days.

Comment 2 Barry Scott 2023-12-12 14:56:17 UTC
Many thanks.

I can test as soon as there are packages available and give Karma.

Comment 3 Fedora Update System 2023-12-12 15:15:06 UTC
FEDORA-2023-833c31bec9 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-833c31bec9

Comment 4 Fedora Update System 2023-12-13 02:09:25 UTC
FEDORA-2023-833c31bec9 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-833c31bec9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-833c31bec9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-12-21 03:59:41 UTC
FEDORA-2023-833c31bec9 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.