`ceph health` == HEALTH_GOOD_ENOUGH?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Pretend I'm about to upgrade from one Ceph release to another.  I want
to know that the cluster is healthy enough to sanely upgrade (MONs
quorate, no OSDs actually on fire), but don't care about HEALTH_WARN
issues like "too many PGs per OSD" or "crush map has legacy tunables".

In this case, if I run `ceph health` and is says HEALTH_OK, I'm good,
and if it says HEALTH_ERR, I know things are bad.  But if it says
HEALTH_WARN, I might be OK, or I might not.

Is there any way to get a status like HEALTH_GOOD_ENOUGH? ;-)  Think:
some `ceph health` invocation a machine can parse to know whether or not
to allow upgrading the cluster.

Thanks,

Tim
-- 
Tim Serong
Senior Clustering Engineer
SUSE
tserong at suse.com


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux