Bug 1480125

Summary: [RFE] Support for auto_unmount option when GlusterFS volumes are mounted.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Humble Chirammal <hchiramm>
Component: kubernetesAssignee: Humble Chirammal <hchiramm>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: low Docs Contact:
Priority: unspecified    
Version: cns-3.6CC: asriram, hchiramm, madam, pprakash, rcyriac, rhs-bugs, rtalur, srmukher
Target Milestone: ---   
Target Release: CNS 3.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this release, auto_unmount option is introduced and enabled for gluster mounts in Openshift to ensure that the filesystem is unmounted when a FUSE server is down. When enabled, this option ensures that the filesystem is unmounted by running a separate monitor process.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-11 06:57:55 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: 1424680    
Bug Blocks: 1445444    

Description Humble Chirammal 2017-08-10 09:05:35 UTC
Description of problem:

Latest gluster versions has support for auto_unmount option which helps on gluster volume to be cleanly unmounted if there are some crashes in fuse bridge or main fuse process. The support is available in OCP 3.6 builds, we would like to qualify the same for CNS 3.6.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Humble Chirammal 2017-08-23 12:54:19 UTC
Things to verify:

Actually from OCP/CNS side what we need to verify here is, whenever a mount happens in gluster client, 'auto_unmount' option has been passed to the fuse mounts. From CNS perspective thats the only change we have done. However  with that option in place, if the main fuse process is killed, ideally the unmount of gluster volumes should happen automatically and cleanly. We could check that as well. If this latter functionality doesnt work, its actually a failure on the 'feature' in gluster, but its worth to check. Also we can check the response in app pod when these happens.

Comment 6 Prasanth 2017-09-14 06:43:31 UTC
(In reply to Humble Chirammal from comment #5)
> Things to verify:
> 
> Actually from OCP/CNS side what we need to verify here is, whenever a mount
> happens in gluster client, 'auto_unmount' option has been passed to the fuse
> mounts. From CNS perspective thats the only change we have done. However 
> with that option in place, if the main fuse process is killed, ideally the
> unmount of gluster volumes should happen automatically and cleanly. We could
> check that as well. If this latter functionality doesnt work, its actually a
> failure on the 'feature' in gluster, but its worth to check. Also we can
> check the response in app pod when these happens.

Verified the above and it works as mentioned.

Comment 8 Raghavendra Talur 2017-10-09 10:40:55 UTC
doc text looks good to me

Comment 9 errata-xmlrpc 2017-10-11 06:57:55 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://access.redhat.com/errata/RHEA-2017:2878