Re: CephFS mirroring / cannot remove peer

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

 



Thank you, Manuel.

Please refer the tracker for updates.

On Fri, Jan 14, 2022 at 7:54 PM Manuel Holtgrewe <zyklenfrei@xxxxxxxxx> wrote:
>
> Dear Venky,
>
> I cleaned the old auth entries after things did not work out and found my workaround. I then started fresh and things worked.
>
> Afterwards it turned out that the key of the remote site is not known to the cephfs-mirror docker Container as I reported here.
>
> https://tracker.ceph.com/issues/53762
>
> Maybe I was seeing something that followed out of the missing key/secret also?
>
> I'm sorry that I cannot provide you with mores details of the broken configuration.
>
> Best wishes
>
> Venky Shankar <vshankar@xxxxxxxxxx> schrieb am Mi., 12. Jan. 2022, 10:29:
>>
>> Hey Manuel - sorry for the delay in response.
>>
>> On Sat, Dec 25, 2021 at 7:10 PM Manuel Holtgrewe <zyklenfrei@xxxxxxxxx> wrote:
>> >
>> > Dear all,
>> >
>> > I'm running ceph v16.2.7, deployed via cephadm.
>> >
>> > I have setup a cephfs mirror and made a little error on the way so I
>> > want to remove the peer again. This fails, see below. The capabilities
>> > of my client.admin user should be sufficient.
>> >
>> > What else could I try?
>> >
>> > Thanks,
>> >
>> > # ceph fs snapshot mirror peer_list cephfs | jq
>> > {
>> >   "6f1d2d87-cc02-47e7-b5da-064c93e6a7ff": {
>> >     "client_name": "client.tier-2-mirror",
>> >     "site_name": "site-tier-2-mirror",
>> >     "fs_name": "cephfs",
>> >     "mon_host": "[v2:172.16.62.22:3300/0,v1:172.16.62.22:6789/0]
>> > [v2:172.16.62.23:3300/0,v1:172.16.62.23:6789/0]
>> > [v2:172.16.62.24:3300/0,v1:172.16.62.24:6789/0]
>> > [v2:172.16.62.25:3300/0,v1:172.16.62.25:6789/0]
>> > [v2:192.168.1.32:3300/0,v1:192.168.1.32:6789/0]"
>> >   }
>> > }
>> > # ceph fs snapshot mirror peer_remove cephfs
>> > 6f1d2d87-cc02-47e7-b5da-064c93e6a7ff
>>
>> What capabilities does "client.tier-2-mirror" have?
>>
>> > Error EACCES: failed to remove peeraccess denied: does your client key
>> > have mgr caps? See
>> > http://docs.ceph.com/en/latest/mgr/administrator/#client-authentication
>> > ceph auth get client.admin
>> > exported keyring for client.admin
>> > [client.admin]
>> >         key = REDACTED
>> >         caps mds = "allow *"
>> >         caps mgr = "allow *"
>> >         caps mon = "allow *"
>> >         caps osd = "allow *"
>> > _______________________________________________
>> > ceph-users mailing list -- ceph-users@xxxxxxx
>> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
>> >
>>
>>
>> --
>> Cheers,
>> Venky
>>


-- 
Cheers,
Venky

_______________________________________________
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