`ceph health` == HEALTH_GOOD_ENOUGH?

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

 



On Mon, Feb 20, 2017 at 6:37 AM, Tim Serong <tserong at suse.com> wrote:
> 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.

This is one of the Groundhog Day topics of Ceph :-)

This is the ticket I like to link to as a possible first step for
anyone working on improving the health reporting:
http://tracker.ceph.com/issues/7192

Cheers,
John

>
> Thanks,
>
> Tim
> --
> Tim Serong
> Senior Clustering Engineer
> SUSE
> tserong at suse.com
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


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


  Powered by Linux