Project

General

Profile

Actions

Bug #53531

open

cephadm: how agent finds the active mgr after mgr failover

Added by Sebastian Wagner over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

how agent finds the active mgr after mgr failover

1) new mgr pokes old agents to provide new mgr endpoint
could be parallelized even
no cephx key needed

2) agent asks mon for active mgr if it hasn't successfully reported in last N second
'ceph mgr services' or similar
woudl need cephx key, something like mon 'allow r'
agent would need a ceph.conf, and have it updated on ceph.conf changes, etc.

3) agent knows all knowns MGRs and standby modules redirect to the active MGR
agent just tries a different MGRs and detects if it gets a redirect to the newly active MGR
needs hostname + port for each MGR

Let's go with (1)?

No data to display

Actions

Also available in: Atom PDF