Alwin Antreich
2018-12-07 08:49:23 UTC
Signed-off-by: Alwin Antreich <***@proxmox.com>
---
This does not address the package update yet.
pve-storage-cephfs.adoc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pve-storage-cephfs.adoc b/pve-storage-cephfs.adoc
index b7f3f4d..5111ad1 100644
--- a/pve-storage-cephfs.adoc
+++ b/pve-storage-cephfs.adoc
@@ -78,6 +78,13 @@ secret generally requires root privileges. The file must only contain the
secret key itself, opposed to the `rbd` backend which also contains a
`[client.userid]` section.
+A secret can be received from the ceph cluster (as ceph admin) by issuing the
+following command. Replace the `userid` with the actual client ID configured to
+access the cluster. For further ceph user managment see the Ceph docs
+footnote:[Ceph user management http://docs.ceph.com/docs/luminous/rados/operations/user-management/].
+
+ ceph auth get-key client.userid > /etc/ceph/cephfs.secret
+
If Ceph is installed locally on the PVE cluster, i.e., setup with `pveceph`,
this is done automatically.
---
This does not address the package update yet.
pve-storage-cephfs.adoc | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pve-storage-cephfs.adoc b/pve-storage-cephfs.adoc
index b7f3f4d..5111ad1 100644
--- a/pve-storage-cephfs.adoc
+++ b/pve-storage-cephfs.adoc
@@ -78,6 +78,13 @@ secret generally requires root privileges. The file must only contain the
secret key itself, opposed to the `rbd` backend which also contains a
`[client.userid]` section.
+A secret can be received from the ceph cluster (as ceph admin) by issuing the
+following command. Replace the `userid` with the actual client ID configured to
+access the cluster. For further ceph user managment see the Ceph docs
+footnote:[Ceph user management http://docs.ceph.com/docs/luminous/rados/operations/user-management/].
+
+ ceph auth get-key client.userid > /etc/ceph/cephfs.secret
+
If Ceph is installed locally on the PVE cluster, i.e., setup with `pveceph`,
this is done automatically.
--
2.11.0
2.11.0