[pve-devel] applied: [PATCH docs 2/3] Fix #2015: add how to get a auth secret for cephfs

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Feb 13 10:13:44 CET 2019


applied

On Tue, Feb 12, 2019 at 10:44:50AM +0100, Alwin Antreich wrote:
> Signed-off-by: Alwin Antreich <a.antreich at proxmox.com>
> ---
>  pve-storage-cephfs.adoc | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/pve-storage-cephfs.adoc b/pve-storage-cephfs.adoc
> index 2613d64..96f4991 100644
> --- a/pve-storage-cephfs.adoc
> +++ b/pve-storage-cephfs.adoc
> @@ -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.
>  
> -- 
> 2.11.0



More information about the pve-devel mailing list