Project

General

Profile

Actions

Feature #17461

closed

Enable python modules to operate in standby mode

Added by John Spray over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
python interface
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, python modules only get their serve() methods run when their hosting ceph-mgr daemon is the active one.

That means that if you e.g. have three server IP addresses running mgr daemons with the rest module loaded, only one of them will actually answer HTTP requests at any moment.

It would be neat if the standby daemon instances could call some special serve_standby() method or similar, which would allow the plugins to start up far enough to serve a "I'm not here, but my peer is" redirect type response (probably including the service information published from http://tracker.ceph.com/issues/17460

Actions #1

Updated by John Spray over 6 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF