Introduce ceph_nfs_ceph_user

In analogy to ceph_nfs_rgw_user, we should be able to define a user
with which the nfs-ganesha Ceph FSAL connects to the cluster.

Introduce a ceph_nfs_ceph_user variable, setting its default to
"admin" (which preserves the prior behavior of always connecting as
client.admin).

Fixes #1910.
pull/1911/head
Florian Haas 2017-09-15 17:38:19 +02:00
parent 7fedc8ebf4
commit ada2f147f5
3 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ dummy:
#ceph_nfs_ceph_pseudo_path: "/cephobject"
#ceph_nfs_ceph_protocols: "3,4"
#ceph_nfs_ceph_access_type: "RW"
#ceph_nfs_ceph_user: "admin"
###################
# FSAL RGW Config #

View File

@ -36,6 +36,7 @@ ceph_nfs_ceph_export_id: 20134
ceph_nfs_ceph_pseudo_path: "/cephobject"
ceph_nfs_ceph_protocols: "3,4"
ceph_nfs_ceph_access_type: "RW"
ceph_nfs_ceph_user: "admin"
###################
# FSAL RGW Config #

View File

@ -20,6 +20,7 @@ EXPORT
FSAL {
Name = CEPH;
User_Id = "{{ ceph_nfs_ceph_user }}";
}
{{ ganesha_ceph_export_overrides | default(None) }}