Bug 2330146

Summary: [NFS-Ganesha] ceph nfs cluster info Does Not Display --ingress_mode Configuration
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Manisha Saini <msaini>
Component: CephadmAssignee: Shweta Bhosale <shbhosal>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0CC: adking, cephqe-warriors, shbhosal, spunadik, 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:
'ceph nfs cluster info' command was not showing ingress mode set while creating nfs cluster. With this fix, ingress mode will be listed in output. [ceph: root@ceph-node-0 /]# ceph nfs cluster info { "mynfs": { "backend": [ { "hostname": "ceph-node-0", "ip": "192.168.100.100", "port": 12345 }, { "hostname": "ceph-node-1", "ip": "192.168.100.101", "port": 12345 }, { "hostname": "ceph-node-2", "ip": "192.168.100.102", "port": 12345 } ], "ingress_mode": "haproxy-standard", "monitor_port": 9000, "port": 2049, "virtual_ip": "192.168.100.123" } }
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:19:48 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 Manisha Saini 2024-12-03 11:14:19 UTC
Description of problem:
==========

The command ceph nfs cluster info does not display the --ingress_mode used during the creation of the NFS cluster.

The available modes for creating an NFS cluster are:
--ingress_mode {default | keepalive-only | haproxy-standard | haproxy-protocol}

It would be beneficial for customers if the cluster info output included the ingress_mode type to provide greater transparency and ease of management.

# ceph nfs cluster info nfsganesha
{
  "nfsganesha": {
    "backend": [
      {
        "hostname": "cali015",
        "ip": "10.8.130.15",
        "port": 12049
      },
      {
        "hostname": "cali016",
        "ip": "10.8.130.16",
        "port": 12049
      }
    ],
    "monitor_port": 9049,
    "port": 2049,
    "virtual_ip": "10.8.130.236"
  }
}


Version-Release number of selected component (if applicable):
===============
# rpm -qa | grep nfs
libnfsidmap-2.5.4-26.el9_4.x86_64
nfs-utils-2.5.4-26.el9_4.x86_64
nfs-ganesha-selinux-6.0-8.el9cp.noarch
nfs-ganesha-6.0-8.el9cp.x86_64
nfs-ganesha-rgw-6.0-8.el9cp.x86_64
nfs-ganesha-ceph-6.0-8.el9cp.x86_64
nfs-ganesha-rados-grace-6.0-8.el9cp.x86_64
nfs-ganesha-rados-urls-6.0-8.el9cp.x86_64

# ceph --version
ceph version 19.2.0-47.el9cp (123a317ae596caa7f6d087fc76fffb6a736e0b5f) squid (stable)

How reproducible:
=======
Always


Steps to Reproduce:
========
1. Create NFS ganesha cluster with HA using --ingress_mode
2. Check the output of "ceph nfs cluster info <cluster_name>


Actual results:
===============
ceph nfs cluster info does not display the --ingress_mode configuration.


Expected results:
================
ceph nfs cluster info should display the --ingress_mode used during the NFS cluster creation.


Additional info:

Comment 7 errata-xmlrpc 2025-06-26 12:19:48 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