Re: CephFS mirroring / cannot remove peer

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

 



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

_______________________________________________
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