]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/ServiceMap: adjust 'ceph -s' summary
authorSage Weil <sage@newdream.net>
Fri, 19 Mar 2021 12:21:18 +0000 (08:21 -0400)
committerSage Weil <sage@newdream.net>
Fri, 19 Mar 2021 17:13:52 +0000 (13:13 -0400)
commitab0d8f2ae9f551e15a4c7bacbf69161e91263785
treea5fdd2a6a8581f0ea3dac4038505886be0e9d605
parentafc33758e076761b8d4ec004c8f9c49b80a48770
mgr/ServiceMap: adjust 'ceph -s' summary

- Do not list individual daemon ids as this won't scale for larger
  clusters
- Do not contemplate multile daemons of the same type that register with
  different "daemon_type" -- not until we actually have any that do that.
- Present counts by various groupings: distinct hosts and rgw zones to
  start.

  services:
    mon:           1 daemons, quorum a (age 4m)
    mgr:           x(active, since 3m)
    osd:           1 osds: 1 up (since 3m), 1 in (since 3m)
    cephfs-mirror: 1 daemon active (1 hosts)
    rbd-mirror:    2 daemons active (1 hosts)
    rgw:           2 daemons active (1 hosts, 1 zones)

Signed-off-by: Sage Weil <sage@newdream.net>
src/mgr/ServiceMap.cc
src/test/librados/service.cc