]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Always provide summary for non-healthy cluster 4868/head
authorThorsten Behrens <tbehrens@suse.com>
Fri, 6 Feb 2015 00:26:40 +0000 (01:26 +0100)
committerNathan Cutler <ncutler@suse.com>
Wed, 8 Jul 2015 13:53:00 +0000 (15:53 +0200)
commitecac1a458bc7331ed8d667f20ba31995d74892d3
tree9413fa5a89d000693e7a23c5ca3d0ae6e10005f0
parent72ecd522941156c8a7e5303531944b0735dcbeb8
Always provide summary for non-healthy cluster

This fixes a problem, wherein calamari does not provide
popup drill-downs for warnings or errors, should the summary
be missing.

Calamari gets health info from /api/v1/cluster/$FSID/health.
If the data here has a summary field, this summary is provided
in a popup window:

  /api/v1/cluster/$FSID/health is populated (ultimately) with
  status obtained via librados python bindings from the ceph
  cluster. In the case where there's clock skew, the summary
  field supplied by the ceph cluster is empty.

No summary field, no popup window with more health details.

Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
(cherry picked from commit eaf6e0cf48488fe604d0ef0db164d44948d4e8d4)
src/mon/Monitor.cc