The idea here is that a file system marked down is considered intentionally
archived by the sysadmin. Consider the future use-case where there are dozens
or hundreds of file systems in use by dynamic applications that come and go. A
file system may only be brought up when the corresponding application is
online.
Fixes: http://tracker.ceph.com/issues/20611
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
}
// MDS_ALL_DOWN
- if ((mds_rank_t)get_num_up_mds() == 0) {
+ if ((mds_rank_t)get_num_up_mds() == 0 && get_max_mds() > 0) {
health_check_t &check = checks->add(
"MDS_ALL_DOWN", HEALTH_ERR,
"%num% filesystem%plurals% %isorare% offline");