]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/devicehealth: warn based on life_expectancy_max
authorSage Weil <sage@redhat.com>
Fri, 12 Oct 2018 13:38:05 +0000 (08:38 -0500)
committerSage Weil <sage@redhat.com>
Fri, 12 Oct 2018 13:38:05 +0000 (08:38 -0500)
commit11bae94c436af7d7b635822fc34daa328b42be74
treedbd326b1c5ac7ae4ab82019432ccfe62be226a8c
parentc1a9d02c9bc1b7f42b5ae82c18dbe3ca33e7b3bc
mgr/devicehealth: warn based on life_expectancy_max

The failure interval needs to be sufficiently precise that it establishes
an approximate upper bound on the device life expectancy.

Also, deal with the fact that the max value may be '0.000000' intead of ''.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/devicehealth/module.py