]> 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>
Sat, 20 Mar 2021 13:23:11 +0000 (08:23 -0500)
commitd0570e33fc0049160253c0e70073498faea55ab6
tree96b5cd0241c76a534759012d9b77e08ae2380f2b
parent84c265238b796935b3aa66d191593b2e8655f384
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>
(cherry picked from commit ab0d8f2ae9f551e15a4c7bacbf69161e91263785)
src/mgr/ServiceMap.cc
src/test/librados/service.cc