Re: adding mds service , unable to create keyring for mds

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

 



ceph auth list:

mds.mynode
        key: mykeyxxxxxxxxxx
        caps: [mgr] profile mds
        caps: [mon] profile mds


ceph auth  get-or-create mds.mynode mon 'profile mds' mgr 'profile mds'
mds 'allow *' osd 'allow *'

error:
Error EINVAL: key for mds.mynode exists but cap mds does not match

I am following instructions on
https://docs.ceph.com/latest/cephfs/add-remove-mds

thanks
jerry

Xiubo Li
>
> On 15/09/2022 03:09, Jerry Buburuz wrote:
>> Hello,
>>
>> I am trying to add my first mds service on any node. I am unable to add
>> keyring to start mds service.
>>
>> # $ sudo ceph auth get-or-create mds.mynode mon 'profile mds' mgr
>> 'profile
>> mds' mds 'allow *' osd 'allow *'
>>
>> Error ENINVAL: key for mds.mynode exists but cap mds does not match
>
> It says the key mds.mynode already exists. What's the output of the
> `ceph auth ls` ?
>
> Thanks!
>
>
>> I tried this command on storage nodes, admin nodes(monitor) , same
>> error.
>>
>> ceph mds stat
>> cephfs:0
>>
>> This makes sense I don't have any mds services running yet.
>>
>> I had no problem creating keyrings for other services like monitors and
>> mgr.
>>
>> Thanks
>> jerry
>>
>>
>>
>>
>>
>> _______________________________________________
>> ceph-users mailing list -- ceph-users@xxxxxxx
>> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>
>
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
>


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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