Description of problem: ======================= When we click the "Create NFS export" button under filesystem --> subvolume, the NFS export creation form appears. However, the form incorrectly uses the path of the subvolume group instead of the subvolume itself. Toggling the "subvolume" option corrects the path in the "CephFS Path" field to the subvolume path, instead of the subvolume group path. Version-Release number of selected component (if applicable): ================================== # ceph --version ceph version 19.1.0-17.el9cp (c4a94422523bb32232df641cbb7125f05a5b49f2) squid (rc) How reproducible: ================ Intermittent Steps to Reproduce: ================== 1. Create NFS service from Dashboard 2. Create a new filesystem from Dashboard. EG - "nfsganesha" 3. Create a subvolume group from dashboard. EG - "group2" 4. Create subvolumes on that subvolume group. Eg - "Group1_vol1", "Group1_vol2", "Group1_vol3", "Group1_vol4", "Group1_vol5" 5. Now click on any subvolume (Eg - "Group1_vol1") --> Edit --> "Create NFS Export" Actual results: ============== NFS Export creation window appears. The default "CephFS Path" picked up is of subvolume group instead of subvolume. And export creation is done with subvolume group path - /volumes/group2 [ceph: root@ceph-auto-cluster-qwoqln-node1-installer /]# ceph nfs export ls nfsganesha [ "/cephfs/volumes/group2" ] [ceph: root@ceph-auto-cluster-qwoqln-node1-installer /]# ceph nfs export info nfsganesha /cephfs/volumes/group2 { "access_type": "RW", "clients": [], "cluster_id": "nfsganesha", "export_id": 1, "fsal": { "fs_name": "nfsganesha", "name": "CEPH", "user_id": "nfs.nfsganesha.1" }, "path": "/volumes/group2", "protocols": [ 3, 4 ], "pseudo": "/cephfs/volumes/group2", "security_label": false, "squash": "no_root_squash", "transports": [ "TCP", "UDP" ] } Expected results: ================ Default value of "CephFS Path" should be the path of subvolume. Expected output: ------- [ceph: root@ceph-auto-cluster-qwoqln-node1-installer /]# ceph nfs export ls nfsganesha [ "/cephfs/volumes/group2/Group1_vol1/98e2301f-9cd2-430b-8f72-303134094683" ] [ceph: root@ceph-auto-cluster-qwoqln-node1-installer /]# ceph nfs export info nfsganesha /cephfs/volumes/group2/Group1_vol1/98e2301f-9cd2-430b-8f72-303134094683 { "access_type": "RW", "clients": [], "cluster_id": "nfsganesha", "export_id": 1, "fsal": { "fs_name": "nfsganesha", "name": "CEPH", "user_id": "nfs.nfsganesha.1" }, "path": "/volumes/group2/Group1_vol1/98e2301f-9cd2-430b-8f72-303134094683", "protocols": [ 3, 4 ], "pseudo": "/cephfs/volumes/group2/Group1_vol1/98e2301f-9cd2-430b-8f72-303134094683", "security_label": false, "squash": "no_root_squash", "transports": [ "TCP", "UDP" ] } Additional info: