Previously the code made several assumptions about NFS shares:
The nfs_server role would parse the pfs_mounts and when a PFS of type nfs would have a device specified, it would add an extra item to the list of local_mounts. Other roles that also parse pfs_mounts and local_mounts like the nhc_standalone role were missing that extra logic and hence had an incomplete list of local_mounts, which resulted in false positive error messages from NHC.
The nfs_server role would assume there is only one NFS server and that all NFS exports were hosted by the same server using partially hard-coded settings.
This has been fixed: we now explicitly add which local mount is exported from which NFS server. In addition NHC file system checks were added for all mounts specified in local_mounts.
Previously the code made several assumptions about NFS shares:
nfs_server
role would parse thepfs_mounts
and when a PFS of typenfs
would have adevice
specified, it would add an extra item to the list oflocal_mounts
. Other roles that also parsepfs_mounts
andlocal_mounts
like thenhc_standalone
role were missing that extra logic and hence had an incomplete list oflocal_mounts
, which resulted in false positive error messages from NHC.nfs_server
role would assume there is only one NFS server and that all NFS exports were hosted by the same server using partially hard-coded settings.This has been fixed: we now explicitly add which local mount is exported from which NFS server. In addition NHC file system checks were added for all mounts specified in
local_mounts
.