Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
The "status" action in netfs resource doesn't write any output to log file.
So there is no information if the status check of the nfs mount was successful or not.
Problem might be when communication with nfs server is cut-off, the service doesn't know about it.
Steps to Reproduce:
1. setup cluster service with netfs resource (set log_level="7")
2. start the service
3. watch the log messages
Actual results:
No output from netfs resource status action
Expected results:
Some output from netfs resource status action
Additional info:
For testing reasons, there is a service with netfs and ip resources. Both resources have "status" action with time interval set to 1m, but there is only ip resource activity in the log.
<rm log_facility="local6" log_level="7">
<failoverdomains/>
<resources>
<netfs name="nfs1" mountpoint="/mnt/test1" host="a3" export="/tmp/nfs1" fstype="nfs" force_unmount="1">
<action name="status" interval="1m"/>
</netfs>
<ip address="10.15.89.178">
<action name="status" interval="1m"/>
</ip>
</resources>
<service autostart="0" name="nfsservice" recovery="relocate">
<netfs ref="nfs1"/>
<ip ref="10.15.89.178"/>
</service>
</rm>
Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0
Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10
Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded
Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0
Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10
Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded
Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0
Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10
Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded
Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0
Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10
Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded
Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0
Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0
Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected
Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0
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.
http://rhn.redhat.com/errata/RHBA-2013-0288.html
Description of problem: The "status" action in netfs resource doesn't write any output to log file. So there is no information if the status check of the nfs mount was successful or not. Problem might be when communication with nfs server is cut-off, the service doesn't know about it. Steps to Reproduce: 1. setup cluster service with netfs resource (set log_level="7") 2. start the service 3. watch the log messages Actual results: No output from netfs resource status action Expected results: Some output from netfs resource status action Additional info: For testing reasons, there is a service with netfs and ip resources. Both resources have "status" action with time interval set to 1m, but there is only ip resource activity in the log. <rm log_facility="local6" log_level="7"> <failoverdomains/> <resources> <netfs name="nfs1" mountpoint="/mnt/test1" host="a3" export="/tmp/nfs1" fstype="nfs" force_unmount="1"> <action name="status" interval="1m"/> </netfs> <ip address="10.15.89.178"> <action name="status" interval="1m"/> </ip> </resources> <service autostart="0" name="nfsservice" recovery="relocate"> <netfs ref="nfs1"/> <ip ref="10.15.89.178"/> </service> </rm> Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0 Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:34:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10 Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:35:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0 Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:35:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10 Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:36:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0 Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:36:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10 Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:37:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0 Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:37:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 10 Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Link detected on eth0 Jun 17 04:38:16 a1 clurgmgrd: [19855]: <debug> Local ping to 10.15.89.178 succeeded Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Checking 10.15.89.178, Level 0 Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> 10.15.89.178 present on eth0 Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Link for eth0: Detected Jun 17 04:38:26 a1 clurgmgrd: [19855]: <debug> Link detected on eth0