nfs export over RGW issue in Pacific
Hi, oot@a001s016:~# cephadm version Using recent ceph image ceph/daemon@sha256:261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586 ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable) root@a001s016:~# root@a001s016:~# cephadm shell Inferring fsid 604d56db-2fab-45db-a9ea-c418f9a8cca8 Inferring config /var/lib/ceph/604d56db-2fab-45db-a9ea-c418f9a8cca8/mon.a001s016/config Using recent ceph image ceph/daemon@sha256:261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586 root@a001s016:~# ceph version ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable) --------------------- But, Cephadm does not show "nfs export create rgw...." nfs export create cephfs <fsname> <clusterid> <binding> [--readonly] [<path>] nfs export rm <clusterid> <binding> nfs export delete <clusterid> <binding> nfs export ls <clusterid> [--detailed] nfs export get <clusterid> <binding> nfs export update --------------------- However, Ceph Dashboard allows to create the export see below: Access Type RW Cluster nfs-1 Daemons nfs-1.0.0.zp3110b001a0101.uckows, nfs-1.1.0.zp3110b001a0102.hhpebb, nfs-1.2.0.zp3110b001a0103.bbkpcb, nfs-1.3.0.zp3110b001a0104.zujkso NFS Protocol NFSv4 Object Gateway User admin Path buc-cluster-inventory Pseudo /rgwnfs_cluster_inventory Squash no_root_squash Storage Backend Object Gateway Transport TCP --------------------- While nfs export is created, pseudo "/rgwnfs_cluster_inventory", cephadm is not listing it # ceph nfs export ls nfs-1 [ "/cluster_inventory", "/oob_crashdump" ] # Anantha
The first handling of nfs exports over rgw in the nfs module, including the `ceph nfs export create rgw` command, wasn't added to the nfs module in pacific until 16.2.7. On Thu, Dec 7, 2023 at 1:35 PM Adiga, Anantha <anantha.adiga@intel.com> wrote:
Hi,
oot@a001s016:~# cephadm version
Using recent ceph image ceph/daemon@sha256 :261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586
ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable)
root@a001s016:~#
root@a001s016:~# cephadm shell
Inferring fsid 604d56db-2fab-45db-a9ea-c418f9a8cca8
Inferring config /var/lib/ceph/604d56db-2fab-45db-a9ea-c418f9a8cca8/mon.a001s016/config
Using recent ceph image ceph/daemon@sha256 :261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586
root@a001s016:~# ceph version
ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable)
--------------------- But, Cephadm does not show "nfs export create rgw...."
nfs export create cephfs <fsname> <clusterid> <binding> [--readonly] [<path>]
nfs export rm <clusterid> <binding>
nfs export delete <clusterid> <binding>
nfs export ls <clusterid> [--detailed]
nfs export get <clusterid> <binding>
nfs export update
---------------------
However, Ceph Dashboard allows to create the export see below:
Access Type RW Cluster nfs-1 Daemons nfs-1.0.0.zp3110b001a0101.uckows, nfs-1.1.0.zp3110b001a0102.hhpebb, nfs-1.2.0.zp3110b001a0103.bbkpcb, nfs-1.3.0.zp3110b001a0104.zujkso NFS Protocol NFSv4 Object Gateway User admin Path buc-cluster-inventory Pseudo /rgwnfs_cluster_inventory Squash no_root_squash Storage Backend Object Gateway Transport TCP ---------------------
While nfs export is created, pseudo "/rgwnfs_cluster_inventory", cephadm is not listing it
# ceph nfs export ls nfs-1 [ "/cluster_inventory", "/oob_crashdump" ] #
Anantha _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Thank you Adam!! Anantha From: Adam King <adking@redhat.com> Sent: Thursday, December 7, 2023 10:46 AM To: Adiga, Anantha <anantha.adiga@intel.com> Cc: ceph-users@ceph.io Subject: Re: [ceph-users] nfs export over RGW issue in Pacific The first handling of nfs exports over rgw in the nfs module, including the `ceph nfs export create rgw` command, wasn't added to the nfs module in pacific until 16.2.7. On Thu, Dec 7, 2023 at 1:35 PM Adiga, Anantha <anantha.adiga@intel.com<mailto:anantha.adiga@intel.com>> wrote: Hi, oot@a001s016:~# cephadm version Using recent ceph image ceph/daemon@sha256:261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586 ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable) root@a001s016:~# root@a001s016:~# cephadm shell Inferring fsid 604d56db-2fab-45db-a9ea-c418f9a8cca8 Inferring config /var/lib/ceph/604d56db-2fab-45db-a9ea-c418f9a8cca8/mon.a001s016/config Using recent ceph image ceph/daemon@sha256:261bbe628f4b438f5bf10de5a8ee05282f2697a5a2cb7ff7668f776b61b9d586 root@a001s016:~# ceph version ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable) --------------------- But, Cephadm does not show "nfs export create rgw...." nfs export create cephfs <fsname> <clusterid> <binding> [--readonly] [<path>] nfs export rm <clusterid> <binding> nfs export delete <clusterid> <binding> nfs export ls <clusterid> [--detailed] nfs export get <clusterid> <binding> nfs export update --------------------- However, Ceph Dashboard allows to create the export see below: Access Type RW Cluster nfs-1 Daemons nfs-1.0.0.zp3110b001a0101.uckows, nfs-1.1.0.zp3110b001a0102.hhpebb, nfs-1.2.0.zp3110b001a0103.bbkpcb, nfs-1.3.0.zp3110b001a0104.zujkso NFS Protocol NFSv4 Object Gateway User admin Path buc-cluster-inventory Pseudo /rgwnfs_cluster_inventory Squash no_root_squash Storage Backend Object Gateway Transport TCP --------------------- While nfs export is created, pseudo "/rgwnfs_cluster_inventory", cephadm is not listing it # ceph nfs export ls nfs-1 [ "/cluster_inventory", "/oob_crashdump" ] # Anantha _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io<mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io<mailto:ceph-users-leave@ceph.io>
participants (2)
-
Adam King
-
Adiga, Anantha