Happy new year everyone,

can I work around this problem or am I doing something wrong here and
someone can correct me?

Best wishes,


On Sat, Dec 25, 2021 at 2:39 PM Manuel Holtgrewe <zyklenf...@gmail.com> 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
> 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@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to