Skip to content

Commit

Permalink
Merge pull request #284 from truenas/NAS-131280-24.10.0
Browse files Browse the repository at this point in the history
NAS-131280 / 24.10.0 / Mark boot pool as healthy even if it has incompatible features (by themylogin)
  • Loading branch information
yocalebo authored Sep 18, 2024
2 parents d8cf036 + 740d0c4 commit 62ba69e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libzfs.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -3022,7 +3022,10 @@ cdef class ZFSPool(object):

property healthy:
def __get__(self):
return self.status_code in [PoolStatus.OK] + self.__warning_statuses()
healthy_statuses = [PoolStatus.OK]
if self.name in ['boot-pool', 'freenas-boot']:
healthy_statuses.append(PoolStatus.INCOMPATIBLE_FEAT)
return self.status_code in healthy_statuses + self.__warning_statuses()

property warning:
def __get__(self):
Expand Down

0 comments on commit 62ba69e

Please sign in to comment.