Bug 1480125 - [RFE] Support for auto_unmount option when GlusterFS volumes are mounted.
Summary: [RFE] Support for auto_unmount option when GlusterFS volumes are mounted.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: kubernetes
Version: cns-3.6
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: CNS 3.6
Assignee: Humble Chirammal
QA Contact: Prasanth
URL:
Whiteboard:
Depends On: 1424680
Blocks: 1445444
TreeView+ depends on / blocked
 
Reported: 2017-08-10 09:05 UTC by Humble Chirammal
Modified: 2017-10-11 06:57 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2017-10-11 06:57:55 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1424680 0 high CLOSED Restarting FUSE causes previous FUSE mounts to be in a bad state. 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2017:2878 0 normal SHIPPED_LIVE Container-Native Storage 3.6 2017-10-11 10:56:00 UTC

Internal Links: 1424680

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


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