RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1182787 - nfs options went missing in nfsserver after updating to 3.9.5-12.el6
Summary: nfs options went missing in nfsserver after updating to 3.9.5-12.el6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resource-agents
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabio Massimo Di Nitto
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1179412
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-15 22:20 UTC by David Vossel
Modified: 2016-10-21 04:51 UTC (History)
7 users (show)

Fixed In Version: resource-agents-3.9.5-45.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1179412
Environment:
Last Closed: 2015-11-19 04:41:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2190 0 normal SHIPPED_LIVE resource-agents bug fix and enhancement update 2015-11-19 08:06:48 UTC

Comment 3 David Vossel 2015-04-29 15:23:18 UTC
patch.
https://github.com/ClusterLabs/resource-agents/pull/581

Comment 5 michal novacek 2015-08-12 18:15:28 UTC
I have verified that with resource-agents-3.9.5-50.el7.x86_64 the values
contained in /etc/sysconfig/nfs are kept intact.

[root@virt-151 ~]# grep -v \# /etc/sysconfig/nfs 
LOCKD_UDPPORT=32769

[root@virt-151 ~]# export OCF_ROOT=/usr/lib/ocf \
OCF_RESKEY_lockd_tcp_port=32803 OCF_RESKEY_nfs_shared_infodir=/mnt/shared/nfs


before the patch resource-agents-3.9.5-40.el7.x86_64
====================================================

[root@virt-151 ~]# /usr/lib/ocf/resource.d/heartbeat/nfsserver start
DEBUG: nfs-server.service - NFS server and services
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled)
   Active: inactive (dead) since Wed 2015-08-12 20:06:25 CEST; 8s ago
  Process: 32400 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
  Process: 32398 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
  Process: 32397 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
  Process: 32145 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
  Process: 32144 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
 Main PID: 32145 (code=exited, status=0/SUCCESS)

Aug 12 20:04:11 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Starting NFS server and services...
Aug 12 20:04:11 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Started NFS server and services.
Aug 12 20:06:25 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopping NFS server and services...
Aug 12 20:06:25 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopped NFS server and services.
INFO: Starting NFS server ...
rpc-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static)
   Active: inactive (dead) since Wed 2015-08-12 20:06:25 CEST; 8s ago
 Main PID: 5330 (code=exited, status=0/SUCCESS)

Aug 12 11:02:41 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
Aug 12 11:02:41 virt-151.cluster-qe.lab.eng.brq.redhat.com rpc.statd[5330]: Version 1.3.0 starting
Aug 12 11:02:41 virt-151.cluster-qe.lab.eng.brq.redhat.com rpc.statd[5330]: Flags: TI-RPC
Aug 12 11:03:41 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Started NFS status monitor for NFSv2/3 locking..
Aug 12 20:06:25 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopping NFS status monitor for NFSv2/3 locking....
Aug 12 20:06:25 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopped NFS status monitor for NFSv2/3 locking..
DEBUG:
INFO: executing sm-notify
INFO: NFS server started

[root@bucek-02 x86_64]# grep -v \# /etc/sysconfig/nfs
STATDARG="--no-notify"
LOCKD_TCPPORT="32803"


with patched version resource-agents-3.9.5-50.el7.x86_64
========================================================

[root@virt-151 ~]# grep -v \# /etc/sysconfig/nfs
LOCKD_UDPPORT=32769

[root@virt-151 ~]# /usr/lib/ocf/resource.d/heartbeat/nfsserver start
DEBUG: nfs-server.service - NFS server and services
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled)
   Active: inactive (dead) since Wed 2015-08-12 20:09:18 CEST; 6s ago
  Process: 393 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
  Process: 391 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
  Process: 390 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
  Process: 32482 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
  Process: 32481 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
 Main PID: 32482 (code=exited, status=0/SUCCESS)

Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Starting NFS server and services...
Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Started NFS server and services.
Aug 12 20:09:18 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopping NFS server and services...
Aug 12 20:09:18 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopped NFS server and services.
INFO: Starting NFS server ...
rpc-statd.service - NFS status monitor for NFSv2/3 locking.
   Loaded: loaded (/usr/lib/systemd/system/rpc-statd.service; static)
   Active: inactive (dead) since Wed 2015-08-12 20:09:18 CEST; 6s ago
  Process: 32470 ExecStart=/usr/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=0/SUCCESS)
 Main PID: 32471 (code=exited, status=0/SUCCESS)

Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Starting NFS status monitor for NFSv2/3 locking....
Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com rpc.statd[32471]: Version 1.3.0 starting
Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com rpc.statd[32471]: Flags: TI-RPC
Aug 12 20:06:34 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Started NFS status monitor for NFSv2/3 locking..
Aug 12 20:09:18 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopping NFS status monitor for NFSv2/3 locking....
Aug 12 20:09:18 virt-151.cluster-qe.lab.eng.brq.redhat.com systemd[1]: Stopped NFS status monitor for NFSv2/3 locking..
DEBUG: 
INFO: executing sm-notify
INFO: NFS server started

[root@virt-151 ~]# cat /etc/sysconfig/nfs
# AUTOGENERATED by /usr/lib/ocf/resource.d/heartbeat/nfsserver high availability resource-agent
# local config backup stored here, '/etc/sysconfig/nfs.ha.bu'
LOCKD_UDPPORT=32769
STATDARG="--no-notify"
LOCKD_TCPPORT="32803"

Comment 9 errata-xmlrpc 2015-11-19 04:41:15 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, 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://rhn.redhat.com/errata/RHBA-2015-2190.html

Comment 10 Praveen Singareddy 2016-10-21 04:51:18 UTC
Appears this issue is not fixed. I was able to reproduce this issue with the resource-agents-3.9.5-54.el7_2.9.x86_64 version.

[root@dhcp-0-203 ~]# cat /etc/sysconfig/nfs
# AUTOGENERATED by /usr/lib/ocf/resource.d/heartbeat/nfsserver high availability resource-agent
# local config backup stored here, '/etc/sysconfig/nfs.ha.bu'
STATDARG="--no-notify"
NFSD_V4_LEASE=10
NFSD_V4_GRACE=10

Resource Group: nfsgroup
     my_lvm	(ocf::heartbeat:LVM):	(target-role:Stopped) Stopped
     nfsshare	(ocf::heartbeat:Filesystem):	(target-role:Stopped) Stopped
     nfs-daemon	(ocf::heartbeat:nfsserver):	(target-role:Stopped) Stopped
     nfs-root	(ocf::heartbeat:exportfs):	(target-role:Stopped) Stopped
     nfs-ip	(ocf::heartbeat:IPaddr2):	(target-role:Stopped) Stopped
     nfs-notify	(ocf::heartbeat:nfsnotify):	(target-role:Stopped) Stopped

================================================================================
After nfsgroup started, NFSD_V4_LEASE=10 and NFSD_V4_GRACE=10 were removed from /etc/sysconfig/nfs

Resource Group: nfsgroup
     my_lvm	(ocf::heartbeat:LVM):	Started dhcp-1-233.bne.redhat.com
     nfsshare	(ocf::heartbeat:Filesystem):	Started dhcp-1-233.bne.redhat.com
     nfs-daemon	(ocf::heartbeat:nfsserver):	Started dhcp-1-233.bne.redhat.com
     nfs-root	(ocf::heartbeat:exportfs):	Started dhcp-1-233.bne.redhat.com
     nfs-ip	(ocf::heartbeat:IPaddr2):	Started dhcp-1-233.bne.redhat.com
     nfs-notify	(ocf::heartbeat:nfsnotify):	Started dhcp-1-233.bne.redhat.com

[root@dhcp-0-203 ~]# cat /etc/sysconfig/nfs
# AUTOGENERATED by /usr/lib/ocf/resource.d/heartbeat/nfsserver high availability resource-agent
# local config backup stored here, '/etc/sysconfig/nfs.ha.bu'
STATDARG="--no-notify"


Note You need to log in before you can comment on or make changes to this bug.