]> git.proxmox.com Git - pve-docs.git/commitdiff
Fix #2015: add how to get a auth secret for cephfs
authorAlwin Antreich <a.antreich@proxmox.com>
Tue, 12 Feb 2019 09:44:50 +0000 (10:44 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 13 Feb 2019 08:57:30 +0000 (09:57 +0100)
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
pve-storage-cephfs.adoc

index 2613d640e28d1e3ac5d2375d841af75e8b87e4bf..96f4991169f57cb268e0a5587ffe96b78768c17f 100644 (file)
@@ -71,13 +71,20 @@ Create the directory `/etc/pve/priv/ceph` with
 
 Then copy the secret
 
- scp <cephserver>:/etc/ceph/cephfs.secret /etc/pve/priv/ceph/<STORAGE_ID>.secret
+ scp cephfs.secret <proxmox>:/etc/pve/priv/ceph/<STORAGE_ID>.secret
 
 The secret must be named to match your `<STORAGE_ID>`. Copying the
 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 > cephfs.secret
+
 If Ceph is installed locally on the PVE cluster, i.e., setup with `pveceph`,
 this is done automatically.