Bug #63614
opencephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of all
0%
Description
The secondary cluster is configured with 3 mons, when a peer connection is established, the peer list/snapshot mirror status always displays only one mon host instead of all the mon details.
[root@ceph1-hk-m-4p31kb-node7 ~]# ceph fs snapshot mirror peer_list cephfs
{"c4f15c31-8d2b-445e-8fa7-3137a1b638ca": {"client_name": "client.mirror_remote", "site_name": "remote_site", "fs_name": "cephfs", "mon_host": "[v2:10.0.97.224:3300,v1:10.0.97.224:6789]"}}
[root@ceph1-hk-m-4p31kb-node7 ~]#
The secondary cluster is configured with 3 mon hosts :
[root@ceph2-hk-m-4p31kb-node6 ~]# ceph mon dump
epoch 3
fsid b9052a36-7c88-11ee-aee7-fa163e9f50e7
last_changed 2023-11-06T09:45:25.866973+0000
created 2023-11-06T09:42:13.026736+0000
min_mon_release 18 (reef)
election_strategy: 1
0: [v2:10.0.97.224:3300/0,v1:10.0.97.224:6789/0] mon.ceph2-hk-m-4p31kb-node1-installer
1: [v2:10.0.97.14:3300/0,v1:10.0.97.14:6789/0] mon.ceph2-hk-m-4p31kb-node3
2: [v2:10.0.99.147:3300/0,v1:10.0.99.147:6789/0] mon.ceph2-hk-m-4p31kb-node2
dumped monmap epoch 3
The details are in https://bugzilla.redhat.com/show_bug.cgi?id=2248176
Updated by Venky Shankar 5 months ago
- Assignee set to Jos Collin
- Target version set to v19.0.0
- Source changed from Community (dev) to Q/A
- Backport set to quincy,reef
Updated by Jos Collin 5 months ago
As discussed with Venky in the bug scrub, just remove the entire 'mon_host' entry from the peer_list to make it similar to the rbd_mirror peer_list.
Updated by Jos Collin 5 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 54682
Updated by Venky Shankar 4 months ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot 4 months ago
- Copied to Backport #64073: reef: cephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of all added
Updated by Backport Bot 4 months ago
- Copied to Backport #64074: quincy: cephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of all added