Bug 2343149

Summary: nfs_mgr : nodeid should be numeric for RADOS_KV block in ganesha.conf file
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sachin Punadikar <spunadik>
Component: CephadmAssignee: Shweta Bhosale <shbhosal>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.1CC: adking, cephqe-warriors, mobisht, msaini, shbhosal, tserlin
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-33.el9cp Doc Type: Enhancement
Doc Text:
The NFS ganesha team has changed nodeid field of RADOS_KV block. Earlier it used to be alphanumeric string, now for newly created clusters it will be numeric string.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:24:40 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:
Bug Depends On:    
Bug Blocks: 2351558    

Description Sachin Punadikar 2025-01-31 07:35:12 UTC
Description of problem:
This is placeholder for accommodating upcoming Ganesha code change

There is new change coming in Ganesha code where in the "nodeid" should be numeric value starting from 1, in the the block "RADOS_KV" in ganesha.conf file. The change is required to enable "TAKE_IP" or "TAKE_NODEID" functionality in Ganesha for recovery backends associated with Rados ("rados-kv", "rados-ng" and "rados-cluster").
The existing code treating nodeid as text, but now need to be numerically value.
Refer Ganesha code change - https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1207554

Additionally for "radon-cluster" recovery backend, every node in NFS Ganesha cluster, need to made member of grace object (in rados). This is done using tool "ganesha-rados-grace". This tool accepts node name as input parameter. Earlier the nodeid (a string) was being passed as is. Now with above change, coming in picture, one need to form the name like "node<nodeid>" and use the same. So here for numeric nodeid as 2, the parameter for "ganesha-rados-grace" tool will be "node2". 

Version-Release number of selected component (if applicable):
Upcoming Ganesha and Ceph releases.

Comment 10 errata-xmlrpc 2025-06-26 12:24:40 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