Bug 788557

Summary: [8e81cbacc53adc77bc4eabb5a26d6d13012f5f86] ENOENT when add-brick is done while the I/O is going on
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: fuseAssignee: Amar Tumballi <amarts>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 11:53:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anush Shetty 2012-02-08 13:08:05 UTC
Description of problem: When add-brick is done when the the I/O is going on, the I/O operation on the mount point returns ENOENT. The behaviour was seen even with stat-prefetch off

Steps to Reproduce:
1. mkdir /mnt/gluster/files; 
2. for i in `seq 1 20000`; do touch /mnt/gluster/files/$i; done
3. gluster volume add-brick test 192.168.1.34:/brick2


Additional info:
Client log-
[2012-02-08 18:14:13.912635] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)
[2012-02-08 18:14:13.913085] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.913106] W [fuse-bridge.c:1702:fuse_create_resume] 0-glusterfs-fuse: 13605 CREATE 00000000-0000-0000-0000-000000000000/2602 resolution failed
[2012-02-08 18:14:13.913540] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.913561] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)
[2012-02-08 18:14:13.917151] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.917194] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)
[2012-02-08 18:14:13.917637] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.917658] W [fuse-bridge.c:1702:fuse_create_resume] 0-glusterfs-fuse: 13608 CREATE 00000000-0000-0000-0000-000000000000/2603 resolution failed
[2012-02-08 18:14:13.918073] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.918096] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)
[2012-02-08 18:14:13.922064] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.922109] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)
[2012-02-08 18:14:13.922567] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.922588] W [fuse-bridge.c:1702:fuse_create_resume] 0-glusterfs-fuse: 13611 CREATE 00000000-0000-0000-0000-000000000000/2604 resolution failed
[2012-02-08 18:14:13.923049] W [fuse-resolve.c:148:fuse_resolve_gfid_cbk] 0-fuse: cffd7c81-8cbe-4c7c-80ee-c640758c5d32: failed to resolve (Invalid argument)
[2012-02-08 18:14:13.923071] E [fuse-bridge.c:330:fuse_lookup_resume] 0-fuse: failed to resolve path (null)

Comment 1 Amar Tumballi 2012-02-22 04:09:38 UTC
we have proper fd migration code from graph to graph now... please test for the behavior in 3.3.0qa23

Comment 2 Anush Shetty 2012-02-22 09:29:13 UTC
Don't see this issue with 3.3.oqa23. Moving it to verified.