stable-2.2: 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, setting its default to "admin" (which
preserves the prior behavior of always connecting as client.admin).

Backport of #1911.
pull/1912/head
Florian Haas 2017-09-15 17:38:19 +02:00
parent 04868bf882
commit 72e32ae0bf
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ EXPORT
FSAL {
Name = CEPH;
User_Id = "{{ ceph_nfs_ceph_user }}";
}
}
{% endif %}

View File

@ -37,6 +37,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 #