Project

General

Profile

Actions

Bug #58691

closed

store names of modules that register RADOS clients in the MgrMap

Added by Ramana Raja over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph-mgr
Target version:
% Done:

100%

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

Description

The MgrMap stores a list of RADOS clients' addresses registered by the
mgr modules. During failover of ceph-mgr, the list is used to blocklist
clients belonging to the failed ceph-mgr.

Store the names of the mgr modules that registered the RADOS clients
along with the clients' addresses in the MgrMap. During debugging, this
allows easy identification of the mgr module that registered a
particular RADOS client by just dumping the MgrMap (ceph mgr dump).

e.g.,

    $ ceph mgr dump | jq '.active_clients[0]'
    {
      "name": "devicehealth",
      "addrvec": [
        {
          "type": "v2",
          "addr": "10.0.0.148:0",
          "nonce": 612376578
        }
      ]
    }


Related issues 4 (0 open4 closed)

Related to rbd - Bug #56724: [rbd_support] recover from RADOS instance blocklistingResolvedRamana Raja

Actions
Copied to mgr - Backport #58998: quincy: store names of modules that register RADOS clients in the MgrMapResolvedRamana RajaActions
Copied to mgr - Backport #58999: reef: store names of modules that register RADOS clients in the MgrMapResolvedRamana RajaActions
Copied to mgr - Backport #59737: pacific: store names of modules that register RADOS clients in the MgrMapResolvedRamana RajaActions
Actions

Also available in: Atom PDF