Description of problem: Right now, when setting up a client for use with CephFS the docs talk about creating a user with cephx. It then asks the reader to mount the CephFS with a username and secretfile. However nowhere it's explained how to actually get / create this secret file. One has to google/go to docs.ceph.com for this to learn that it's actually just the keyring in cleartext. Version-Release number of selected component (if applicable): RHCS 3.0 https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html/ceph_file_system_guide/deploying-ceph-file-systems#manually-mounting-the-ceph-file-system-as-a-kernel-client
I ran into this too. I tried passing in the keyring file: [root@jb-rhel-client ceph]$ mount -t ceph 192.168.122.213:/ /mnt/cephfs/ -o name=1,secretfile=/etc/ceph/ceph.client.1.keyring secret is not valid base64: Invalid argument. adding ceph secret key to kernel failed: Invalid argument. failed to parse ceph_options Googled 'secret is not valid base64: Invalid argument.' and found the answer here: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-July/019385.html It worked right away.
These changes are published on the portal: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/ceph_file_system_guide/#creating-ceph-file-system-client-users closing