Bug 1394720

Summary: Local ISO domain is inaccessible on el7.3
Product: Red Hat Enterprise Linux 7 Reporter: Nikolai Sednev <nsednev>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Yongcheng Yang <yoyang>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: bmcclain, snagar, xzhou
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-15 07:28:34 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:
Bug Depends On:    
Bug Blocks: 1393798    

Description Nikolai Sednev 2016-11-14 10:11:39 UTC
Description of problem:
Cloning from https://bugzilla.redhat.com/show_bug.cgi?id=1393798.
The issue is well described in https://bugzilla.redhat.com/show_bug.cgi?id=1393798#c0 and https://bugzilla.redhat.com/show_bug.cgi?id=1393798#c3
The work around also documented in https://access.redhat.com/solutions/2761021.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.Follow the steps from https://bugzilla.redhat.com/show_bug.cgi?id=1393798.
2.
3.

Actual results:
# netstat -tulnp|grep '32769\|32803'
Will return nothing in this case.

Expected results:
tcp        0      0 0.0.0.0:32803           0.0.0.0:*               LISTEN      -                   
udp        0      0 0.0.0.0:32769           0.0.0.0:*                           - 


Additional info:

Comment 3 Yongcheng Yang 2016-12-23 07:56:24 UTC
As Bug #1264387 Comment #10 said, "how lockd kernel parameters are set will be changing in 7.3".

As a result, the previous setting (i.e. LOCKD_TCPPORT=32803 LOCKD_UDPPORT=32769) in /etc/sysconfig/nfs won't effect after updating beyond nfs-utils-1.3.0-0.26.el7 and rebooting.

Steps to Reproduce:
1. echo -e "LOCKD_TCPPORT=32803 \nLOCKD_UDPPORT=32769" > /etc/sysconfig/nfs
2. update nfs-utils beyond 1.3.0-0.26.el7 and reboot
3. netstat -tulnp | grep '32769\|32803'

Additional info:
The workaround is to update previous setting into the new introduced configure file /etc/modprobe.d/lockd.conf


(In reply to CAPELLE Benoit from Bug #1393798 comment #0)
> Description of problem:
> Red Hat released RHEL 7.3
> 
> Package nfs-utils was upgraded from nfs-utils-1.3.0-0.21.el7_2.1 to
> nfs-utils-1.3.0-0.33.el7
> 
> NFS lockd parameters have now to be set in a new file:
> $ rpm -qi --changelog nfs-utils
> ...
> * Mon May 16 2016 Steve Dickson <steved> 1.3.0-0.26
> ...
> - lockd: added lockd.conf to set module parameters (bz 1264387)
> ...
> 
> /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/ovirt-engine/system/
> nfs.py is setting NFS lockd ports in file /etc/sysconfig/nfs
> LOCKD_TCPPORT=32803
> LOCKD_UDPPORT=32769
> 
> /usr/share/ovirt-engine/firewalld/ovirt-engine/ovirt-nfs.xml.in is setting
> NFS lockd ports
> ...
>     <port protocol="udp" port="32769"/>
>     <port protocol="tcp" port="32803"/>
> ...
> 
> NFS lockd won't use parameters set in /etc/sysconfig/nfs. After rebooting,
> lockd is not listening on TCP port 32803 and UDP port 32769. Clients can get
> stuck if trying to acquire lock as firewall is filtering ports.
> 
> Version-Release number of selected component (if applicable):
> RHEL 7.3
> ovirt-engine-setup-plugin-ovirt-engine-4.0.4.4-1.el7
> nfs-utils-1.3.0-0.33.el7
> 
> How reproducible:
> Upgrade to RHEL 7.3. Reboot and check open TCP/UDP ports
> 
> Steps to Reproduce:
> 1. yum update
> 2. reboot
> 3. netstat -tulnp|grep '32769\|32803'
> 
> Actual results:
> null
> 
> 
> Expected results:
> tcp        0      0 0.0.0.0:32803           0.0.0.0:*               LISTEN  
> -                   
> udp        0      0 0.0.0.0:32769           0.0.0.0:*                       
> - 
> 
> Additional info:
> Setting NFS lockd ports in /etc/modprobe.d/lockd.conf resolves the issue:
> options lockd nlm_tcpport=32803
> options lockd nlm_udpport=32769

Comment 7 RHEL Program Management 2021-01-15 07:28:34 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.