Bug 1428302
Summary: | [crawler]: auxiliary mount remains even after crawler finishes | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anil Shah <ashah> | |
Component: | quota | Assignee: | hari gowtham <hgowtham> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Rahul Hinduja <rhinduja> | |
Severity: | high | Docs Contact: | ||
Priority: | low | |||
Version: | rhgs-3.2 | CC: | amukherj, jstrunk, rhs-bugs, sheggodu, storage-qa-internal | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.12.2-17 | Doc Type: | Bug Fix | |
Doc Text: |
Cause: If a chdir on the crawler auxiliary mount path for quota fails, the mount path is not unmounted.
Consequence: stale auxiliary mount
Fix: lazy umount the mount path, so that the mount path is always unmounted.
Result: There should not be any stale mount handle due to crawler aux mount
|
Story Points: | --- | |
Clone Of: | ||||
: | 1429330 (view as bug list) | Environment: | ||
Last Closed: | 2018-11-19 08:50:19 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: | 1429330 | |||
Bug Blocks: |
Description
Anil Shah
2017-03-02 09:26:42 UTC
Since the brick is down we get transport_disconnected on chdir to mountpoint. In the function _glusterd_quota_initiate_fs_crawl, we exit if chdir fails without doing a umount. ret = chdir (mountdir); if (ret == -1) { gf_msg (THIS->name, GF_LOG_WARNING, errno, GD_MSG_DIR_OP_FAILED, "chdir %s failed", mountdir); exit (EXIT_FAILURE); } To fix this we need to do a lazy_umount before exit. upstream patch : https://review.gluster.org/#/c/16853/ the issue is fixed as part of 3.12.2 rebase (RHGS 3.4.0), Good to verify the fix. BZ should be in MODIFIED state until and unless it's all acked. Hi, As the fix for the bug is available, marking it as current release and closing it. Feel free to open the bug if it still persists. -Hari. |