]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/devicehealth: add helpers to life_expectancy_response()
authorYaarit Hatuka <yaarithatuka@gmail.com>
Mon, 25 Jun 2018 13:19:22 +0000 (08:19 -0500)
committerSage Weil <sage@redhat.com>
Tue, 31 Jul 2018 19:08:53 +0000 (14:08 -0500)
commite1552de24b63fa55eccd0220d197f7ab144b0301
treedc964ab9597eda415034379fa0738857855691ee
parent2b86590a665ee97794311e5cc5f4af216df8cd8c
mgr/devicehealth: add helpers to life_expectancy_response()

- if mark_out_threshold is met we write to log.warn instead of raising a
  health warning.
- check that OSD is 'in' before calling mark_out().
- raise a health warning in case OSD is marked 'out' but still has PGs
  attached to it.
- cast thresholds default values to string.
- add SCSI multipath support to health warning message.
- change health warning message.

Signed-off-by: Yaarit Hatuka <yaarithatuka@gmail.com>
src/pybind/mgr/devicehealth/module.py