- Add 'name' to template context in nfs.py
- Use consistent nodeid in RADOS_KV and CEPH blocks
- Enable register_service in CEPH block for service map visibility
Note: CEPH block is ignored in Ganesha 5.9 (seen as 'Unknown block (CEPH)' in logs),
so ceph -s visibility cannot be validated upstream. This change is forward-compatible
with newer Ganesha versions.
Fixes: https://tracker.ceph.com/issues/75709
Signed-off-by: Shubha Jain <SHUBHA.JAIN1@ibm.com>
name = "client.{{ rgw_user }}";
}
+CEPH {
+ register_service = true;
+ nodeid = "{{ nodeid }}";
+}
+
{% if tls_add %}
TLS_CONFIG{
Enable_TLS = {{ tls_add }};
' name = "client.nfs.foo.test.0.0-rgw";\n'
'}\n'
'\n'
+ 'CEPH {\n'
+ ' register_service = true;\n'
+ ' nodeid = "0";\n'
+ '}\n'
+ '\n'
"%url rados://.nfs/foo/conf-nfs.foo"
)
nfs_expected_conf = {