From 49e645405bb9bf49fd1abf292f36cfbc88c275c2 Mon Sep 17 00:00:00 2001 From: themylogin Date: Fri, 16 Feb 2024 15:59:33 +0100 Subject: [PATCH] Do not report `INCOMPATIBLE_FEAT` as unhealthy pool (cherry picked from commit 05eff4e911eebd3ec144f93f9ca676791a7e376d) (cherry picked from commit 4b355e495c83bbc6c5f9542643719ce8d84aa105) (cherry picked from commit 1c97ea8aa72e23d216d8ec887c298a1975138d32) --- libzfs.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libzfs.pyx b/libzfs.pyx index 6f9ac94..8b0940f 100644 --- a/libzfs.pyx +++ b/libzfs.pyx @@ -2900,7 +2900,7 @@ cdef class ZFSPool(object): property healthy: def __get__(self): - return self.status_code in [PoolStatus.OK] + self.__warning_statuses() + return self.status_code in [PoolStatus.OK, PoolStatus.INCOMPATIBLE_FEAT] + self.__warning_statuses() property warning: def __get__(self):