Bug 1384070
Summary: | inconsistent file permissions b/w write permission and sticky bits(---------T ) displayed when IOs are going on with md-cache enabled (and within the invalidation cycle) | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Nag Pavan Chilakam <nchilaka> | |
Component: | md-cache | Assignee: | Poornima G <pgurusid> | |
Status: | CLOSED ERRATA | QA Contact: | Vivek Das <vdas> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.2 | CC: | amukherj, nbalacha, nchilaka, rhinduja, rhs-bugs, rjoseph, sanandpa, sbhaloth | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.2.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1392713 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-23 06:09:09 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: | ||||
Bug Blocks: | 1351528, 1392713, 1401376 |
Description
Nag Pavan Chilakam
2016-10-12 13:19:43 UTC
Its a nice finding. Fix posted upstream: http://review.gluster.org/#/c/15789/ downstream patch : https://code.engineering.redhat.com/gerrit/#/c/91957/ Followed the steps the reproduce Steps to Reproduce: 1.create md-cache setup on a 2x2 volume 2. mount volume on two clients 3. from cleint 1: create a file and start create of hardlinks to the file in a loop of say some 1lakh hardlinks 4. From another client , say client2 change file permissions of a hardlink already created say hardlink.10 5. as long as the 1lakh hardlink creation is in progress, keep issuing ls -l of hardlink.20 (some hardlink which has been created) You will see that the file permissions is sometimes shown as what is expected and sometimes with just the sticky bit I created a 2GB file and the created around 2 lakh hardlink of the file on a loop over cifs mount and then over fuse mount using two clients. Changed the file permission of a hardlink file and continued ls -l over the mount point. I did not see any sticky bits in place of file permission. Version --------- samba-client-4.4.6-4.el7rhgs.x86_64 glusterfs-cli-3.8.4-11.el7rhgs.x86_64 Marking it as verified. 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://rhn.redhat.com/errata/RHSA-2017-0486.html |