Bug 2396018

Summary: [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
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: sumr
Component: NFS-GaneshaAssignee: Sreedhar Agraharam <sragraha>
NFS-Ganesha sub component: Ceph QA Contact: sumr
Status: CLOSED ERRATA Docs Contact: Rivka Pollack <rpollack>
Severity: high    
Priority: unspecified CC: hyelloji, msaini, ngangadh, rpollack, sragraha, tserlin, vereddy
Version: 8.1Flags: hyelloji: needinfo? (sragraha)
Target Milestone: ---   
Target Release: 8.1z3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-ganesha-6.5-29.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-30 09:23:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
NFS Metrics for Read op none

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