Bug 1086827 - CTDB hooks script adds bad entry in /etc/fstab
Summary: CTDB hooks script adds bad entry in /etc/fstab
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.0.0
Assignee: Raghavendra Talur
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-11 15:17 UTC by Jacob Shucart
Modified: 2019-11-12 04:21 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.6.0.5-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, entries in /etc/fstab directory for glusterFS mounts did not have the _netdev option. This led to a few systems becoming unresponsive. With this fix, the hookscripts have the _netdev option defined for the glusterFS mounts in /etc/fstab directory and mount operation is successful.
Clone Of:
Environment:
Last Closed: 2014-09-22 19:35:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1278 0 normal SHIPPED_LIVE Red Hat Storage Server 3.0 bug fix and enhancement update 2014-09-22 23:26:55 UTC

Description Jacob Shucart 2014-04-11 15:17:40 UTC
Description of problem:

The hooks script present for CTDB puts a bad entry in /etc/fstab which causes some systems to hang.  I observed this at customer during a POC on an HP SL4540.

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

RHS 2.1u2

How reproducible:

Not reproducible everywhere.

---------------------------------------
The current CTDB hooks script on start adds an entry in /etc/fstab that looks like:

hostname.fqdn:/VOLNAME /gluster/lock glusterfs defaults,transport=tcp 0 0

This entry causes some systems to hang.  It should be changed to:

localhost:/VOLNAME /gluster/lock glusterfs defaults,_netdev 0 0

This works and doesn't cause systems to hang.

Comment 2 Keith Schincke 2014-04-11 15:34:15 UTC
This seems to be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1035042

Comment 3 Raghavendra Talur 2014-05-05 05:45:52 UTC
This has been fixed upstream by patch http://review.gluster.org/#/c/7221/.
and will be part of next release of Red Hat Storage.

Comment 4 surabhi 2014-06-11 09:17:03 UTC
With the fix provided in hook script to add the entry in /etc/fstab as follows hostname:/vol_name /gluster/lock glusterfs _netdev,defaults,transport=tcp 0 0 the system hang is not seen and mount is successful.
Verified in glusterfs-server-3.6.0.15-1.el6rhs.x86_64.

Comment 5 Pavithra 2014-07-23 09:24:32 UTC
Hi Raghavendra, 

Please review the edited doc text for technical accuracy and sign off.

Comment 7 errata-xmlrpc 2014-09-22 19:35:35 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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html


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