Bug 2127117

Summary: [RFE] RHEL HA nfsserver cluster resource NFSv4-only (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Brian McCafferty <bdm>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: agk, cluster-maint, fdinitto, mjuricek, phagara
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.8Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: resource-agents-4.9.0-34.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2127121 (view as bug list) Environment:
Last Closed: 2023-05-16 08:04:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2127121    

Description Brian McCafferty 2022-09-15 11:55:32 UTC
Description of problem:
RHEL 8 allows you to configure an NFSv4-only NFS server and mask rpc-statd.service, rpcbind.service, rpcbind.socket as per the official documentation.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/configuring-an-nfsv4-only-server_managing-file-systems

If you attempt to do this via the RHEL HA nfsserver cluster resource-agent it will fail to start with the following error:
[ Failed to start rpcbind.service: Unit is masked. ]

Version-Release number of selected component (if applicable):
RHEL 8.6
resource-agents-4.9.0-16.el8_6.2.x86_64.rpm

How reproducible:
100% of time

Steps to Reproduce:
[1] Configure the NFS server cluster - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/high_availability_add-on_administration/index#ch-nfsserver-HAAA

[2] Configure the underneath NFS layer to use NFSv4-only - https://access.redhat.com/solutions/3320581 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_file_systems/configuring-an-nfsv4-only-server_managing-file-systems

Actual results:
Error starting NFS Resource:
[ Failed to start rpcbind.service: Unit is masked. ]

Expected results:
NFS Service would be successfully started.

Additional info:
Issue exists for RHEL 7 as well but due to lifecycle for RHEL 7 being in phase 2 are raising RFE for RHEL 8 Only.
This also affects RHEL 9 and will be logged under another bug/rfe for RHEL9
See Private Notes.

Comment 4 Oyvind Albrigtsen 2022-11-21 14:09:45 UTC
https://github.com/ClusterLabs/resource-agents/pull/1822

Comment 11 errata-xmlrpc 2023-05-16 08:04:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (resource-agents bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2735