Project

General

Profile

Actions

Fix #46645

closed

librados|libcephfs: use latest MonMap when creating from CephContext

Added by Patrick Donnelly almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
octopus,nautilus
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

If the monitor IPs are given at startup via the `--mon_host` switch, those IPs are used for the duration of the process lifetime even if the monitors have been moved elsewhere (e.g. by Rook).

Teach the MonClient to update the CephContext with the current monitor addresses so future instantiations of libcephfs/librados get the correct mon IPs.


Related issues 3 (0 open3 closed)

Related to RADOS - Bug #47180: qa/standalone/mon/mon-handle-forward.sh failureResolvedPatrick Donnelly

Actions
Copied to CephFS - Backport #47013: nautilus: librados|libcephfs: use latest MonMap when creating from CephContextResolvedShyamsundar RanganathanActions
Copied to CephFS - Backport #47014: octopus: librados|libcephfs: use latest MonMap when creating from CephContextResolvedShyamsundar RanganathanActions
Actions

Also available in: Atom PDF