Bug 1223759

Summary: Sharding - Fix posix compliance test failures.
Product: [Community] GlusterFS Reporter: Krutika Dhananjay <kdhananj>
Component: shardingAssignee: Krutika Dhananjay <kdhananj>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1227572 (view as bug list) Environment:
Last Closed: 2016-06-16 13:03:49 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: 1227572    

Description Krutika Dhananjay 2015-05-21 12:11:58 UTC
Description of problem:
There are a bunch of posix compliance tests that fail because of sharding translator not appropriately handling fops on symlinks.
This BZ is to be associated with all the patches sent to fix these issues.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-05-29 08:34:25 UTC
REVIEW: http://review.gluster.org/10995 (features/shard: Handle symlinks appropriately in fops) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

Comment 2 Anand Avati 2015-05-30 10:07:23 UTC
REVIEW: http://review.gluster.org/10995 (features/shard: Handle symlinks appropriately in fops) posted (#2) for review on master by Niels de Vos (ndevos)

Comment 3 Anand Avati 2015-06-01 02:58:07 UTC
REVIEW: http://review.gluster.org/10995 (features/shard: Handle symlinks appropriately in fops) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

Comment 4 Anand Avati 2015-06-03 13:28:18 UTC
REVIEW: http://review.gluster.org/11065 (features/shard: Skip shards resolution if lookup on /.shard returns ENOENT) posted (#1) for review on master by Krutika Dhananjay (kdhananj)

Comment 5 Anand Avati 2015-06-03 13:37:13 UTC
COMMIT: http://review.gluster.org/10995 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 990cb828a2e9b0d83a767977712305534fac39e2
Author: Krutika Dhananjay <kdhananj>
Date:   Thu May 21 14:58:26 2015 +0530

    features/shard: Handle symlinks appropriately in fops
    
    (f)stat, unlink and rename must skip doing inode_ctx_get()
    of shard block size on symbolic links.
    
    Change-Id: I68688532164dd2ab491ff5c59b343174f8c4ce7f
    BUG: 1223759
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/10995
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 6 Anand Avati 2015-06-17 13:19:57 UTC
REVIEW: http://review.gluster.org/11065 (features/shard: Skip shards resolution if lookup on /.shard returns ENOENT) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

Comment 7 Anand Avati 2015-06-19 03:55:26 UTC
REVIEW: http://review.gluster.org/11065 (features/shard: Skip shards resolution if lookup on /.shard returns ENOENT) posted (#4) for review on master by Krutika Dhananjay (kdhananj)

Comment 8 Niels de Vos 2016-06-16 13:03:49 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user