Bug 2354788

Summary: NFS commands updating export should have parameter to skip notify to nfs server
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Shweta Bhosale <shbhosal>
Component: CephadmAssignee: Shweta Bhosale <shbhosal>
Status: CLOSED ERRATA QA Contact: hacharya
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.1CC: cephqe-warriors, kdeb, tserlin
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-86.el9cp Doc Type: Enhancement
Doc Text:
For all nfs export operation, cephadm notifies NFS and based on that NFS reload its cache. If user is performing some operation on multiple exports, every time NFS used to reload its cache. With this fix user will need to pass 'skip_notify_nfs_server' parameter to skip NFS notify and he can notify NFS once they are done with all operations. Below commands have the skip_notify_nfs_server option: 1. nfs export qos enable bandwidth_control <cluster_id> <pseudo_path> [--combined-rw-bw-ctrl] [--max_export_write_bw <value>] [--max_export_read_bw <value>] [--max_client_write_bw <value>] [--max_client_read_bw <value>] [--max_export_combined_bw <value>] [--max_client_combined_bw <value>] [--skip_notify_nfs_server] 2. nfs export qos enable ops_control <cluster_id> <pseudo_path> [<max_export_iops:int>] [<max_client_iops:int>] [--skip_notify_nfs_server] 3. nfs export qos disable bandwidth_control <cluster_id> <pseudo_path> [--skip_notify_nfs_server] 4. nfs export qos disable ops_control <cluster_id> <pseudo_path> [--skip_notify_nfs_server] 5. nfs export apply <cluster_id> [--skip_notify_nfs_server] [--format <value>]
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:29:37 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:

Description Shweta Bhosale 2025-03-25 08:50:28 UTC
Below NFS commands should have parameter to skip notify to nfs server

1. nfs export qos enable bandwidth_control <cluster_id> <pseudo_path> [--combined-rw-bw-ctrl] [--max_export_write_bw <value>] [--max_export_read_bw <value>] [--max_client_write_bw <value>] [--max_client_read_bw <value>] [--max_export_combined_bw <value>] [--max_client_combined_bw <value>]
2. nfs export qos enable ops_control <cluster_id> <pseudo_path> [<max_export_iops:int>] [<max_client_iops:int>]
3. nfs export qos disable bandwidth_control <cluster_id> <pseudo_path>
4. nfs export qos disable ops_control <cluster_id> <pseudo_path>
5. nfs export apply <cluster_id> [--format <value>]

Comment 1 Storage PM bot 2025-03-25 08:50:38 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 8 errata-xmlrpc 2025-06-26 12:29:37 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 (Important: 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/RHSA-2025:9775