Project

General

Profile

Actions

Bug #63614

open

cephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of all

Added by Jos Collin 5 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Q/A
Tags:
backport_processed
Backport:
quincy,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Component(FS):
cephfs-mirror
Labels (FS):
snapshots
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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


Related issues 2 (1 open1 closed)

Copied to CephFS - Backport #64073: reef: cephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of allResolvedJos CollinActions
Copied to CephFS - Backport #64074: quincy: cephfs-mirror: the peer list/snapshot mirror status always displays only one mon host instead of allIn ProgressJos CollinActions
Actions #1

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
Actions #2

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.

Actions #3

Updated by Jos Collin 5 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 54682
Actions #4

Updated by Venky Shankar 4 months ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

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
Actions #6

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
Actions #7

Updated by Backport Bot 4 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF