Skip to content

Commit

Permalink
Mark boot pool as healthy even if it has incompatible features
Browse files Browse the repository at this point in the history
(cherry picked from commit b56ce9a)
  • Loading branch information
themylogin authored and bugclerk committed Sep 18, 2024
1 parent d8cf036 commit 740d0c4
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 740d0c4

Please sign in to comment.