[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] CephFS mirroring / cannot remove peer
From:       Manuel Holtgrewe <zyklenfrei () gmail ! com>
Date:       2021-12-25 13:39:31
Message-ID: CACRvWAvSdn4jtejKN0echC_S-aF2GqW0bcyNO-AXphHc16Kh1Q () mail ! gmail ! com
[Download RAW message or body]

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-leave@ceph.io
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic