Bug 2396018 - [8.1z3][NFS-Ganesha] NFS Prometheus metrics counter nfs_request_size_by_export_bytes_sum and nfs_response_size_by_export_bytes_sum are not updated for Read operation [NEEDINFO]
Summary: [8.1z3][NFS-Ganesha] NFS Prometheus metrics counter nfs_request_size_by_expor...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: NFS-Ganesha
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 8.1z3
Assignee: Sreedhar Agraharam
QA Contact: sumr
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-17 09:02 UTC by sumr
Modified: 2025-09-30 09:23 UTC (History)
7 users (show)

Fixed In Version: nfs-ganesha-6.5-29.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-09-30 09:23:35 UTC
Embargoed:
hyelloji: needinfo? (sragraha)


Attachments (Terms of Use)
NFS Metrics for Read op (139.07 KB, image/png)
2025-09-17 09:02 UTC, sumr
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-12160 0 None None None 2025-09-17 09:03:44 UTC
Red Hat Product Errata RHBA-2025:17047 0 None None None 2025-09-30 09:23:36 UTC

Description sumr 2025-09-17 09:02:55 UTC
Created attachment 2106843 [details]
NFS Metrics for Read op

Description of problem:
For Read operation NFS Metrics counters nfs_request_size_by_export_bytes_sum and nfs_response_size_by_export_bytes_sum are not getting updated.

Version-Release number of selected component (if applicable):19.2.1-269.el9cp


How reproducible:5/5


Steps to Reproduce:
1.Enable metrics in Ganesha.conf and monitor metrics through http://<ganesha-host>:9587
Setup guide: https://ibm.ent.box.com/notes/1966110207741 
2.Create NFS Export, mount and run IO as below, Capture NFS counters for each IO,
Counters: Read, Write
nfs_bytes_received_by_export_total
nfs_bytes_sent_by_export_total
nfs_request_size_by_export_bytes_count
nfs_request_size_by_export_bytes_sum
nfs_response_size_by_export_bytes_count
nfs_response_size_by_export_bytes_sum

a. new export,mount,cp messages and ls
b. Overwrite messages
c. clear client cache and cat messages
d. RW - cp messages messages1
e. RW - clear cache,cp messages1 messages2
3.

Actual results:
counter nfs_request_size_by_export_bytes_sum and nfs_response_size_by_export_bytes_sum are not getting updated for Read op
Attached screenshot for Metrics.


Expected results: For each Read op, counter nfs_request_size_by_export_bytes_sum and nfs_response_size_by_export_bytes_sum should be updated as cumulative.


Additional info:

Comment 10 errata-xmlrpc 2025-09-30 09:23:35 UTC
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 (Red Hat Ceph Storage 8.1 security, bug fix and enhancement updates), 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-2025:17047


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