Re: libceph: auth method 'x' error -1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 12, 2017 at 7:11 PM,  <c.monty@xxxxxx> wrote:
> Hi!
>
> I have installed Ceph using ceph-deploy.
> The Ceph Storage Cluster setup includes these nodes:
> ld4257 Monitor0 + Admin
> ld4258 Montor1
> ld4259 Monitor2
> ld4464 OSD0
> ld4465 OSD1
>
> Ceph Health status is OK.
>
> However, I cannot mount Ceph FS.
> When I enter this command on ld4257
> mount -t ceph ldcephmon1,ldcephmon2,ldcephmon3:/ /mnt/cephfs/ -o
> name=client.openattic,secret=[secretkey]
> I get this error:
> mount error 1 = Operation not permitted
> In syslog I find this entries:
> [ 3657.493337] libceph: client264233 fsid
> 5f6f168d-2ade-4d16-a7e6-3704f93ad94e
> [ 3657.493542] libceph: auth method 'x' error -1
>
> When I use another mount command on ld4257
> mount.ceph ld4257,ld4258,ld4259:/cephfs /mnt/cephfs/ -o
> name=client.openattic,secretfile=/etc/ceph/ceph.client.openattic.keyring
> I get this error:
> secret is not valid base64: Invalid argument.
> adding ceph secret key to kernel failed: Invalid argument.
> failed to parse ceph_options
>
> Question:
> Is mount-option "secretfile" not supported anymore?

It is.  The secret file should contain the base64-encoded key and
nothing else:

$ cat /tmp/secret
AQBgL15ZHHfVHhAAFz0Us4uGdIBvwfxEJ96OQQ==

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux