Bug 2254031 - repeated log for unknown NFSd metric line wdeleg_getattr
Summary: repeated log for unknown NFSd metric line wdeleg_getattr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-prometheus-node-exporter
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Mark E. Fuller
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-11 16:02 UTC by Barry Scott
Modified: 2023-12-21 03:59 UTC (History)
3 users (show)

Fixed In Version: golang-github-prometheus-node-exporter-1.6.1-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-21 03:59:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github prometheus node_exporter issues 2799 0 None open Node exporter complains about unknown metric lines from NFSd on Linux 6.6-rc1 2023-12-11 17:13:52 UTC
Github prometheus procfs pull 574 0 None Merged NFSd: handle new wdeleg_getattr attribute in /proc/net/rpc/nfsd 2023-12-11 17:13:52 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.