Bug 1159279

Summary: DHT: Rebalance + quota:- glusterfs crash after remove- brick on a quota enabled volume
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: shylesh <shmohan>
Component: distributeAssignee: Bug Updates Notification Mailing List <rhs-bugs>
Status: CLOSED ERRATA QA Contact: shylesh <shmohan>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: asrivast, nbalacha, ssamanta, surs, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.70rhs-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-13 12:23:51 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: 1147095    

Description shylesh 2014-10-31 11:26:53 UTC
Description of problem:


Version-Release number of selected component (if applicable):
3.4.0.69rhs-1.el6rhs.x86_643.4.0.69rhs-1.el6rhs.x86_64

How reproducible:


Steps to Reproduce:
1. created 6x2 dist-rep volume and enabled quota
2. create some data
3. did remove-brick start

Actual results:
found crash 

Expected results:


Additional info:

(gdb) bt
#0  uuid_unpack (in=0x8 <Address 0x8 out of bounds>, uu=0x7f02eb6f54d0) at ../../contrib/uuid/unpack.c:44
#1  0x00000035ca44a646 in uuid_unparse_x (uu=<value optimized out>, out=0x7f03200796a0 "6562fd3a-d1d3-4aba-959a-55b88e2152e7", 
    fmt=0x35ca46d6c0 "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x") at ../../contrib/uuid/unparse.c:55
#2  0x00000035ca428d17 in uuid_utoa (uuid=0x8 <Address 0x8 out of bounds>) at common-utils.c:2052
#3  0x00007f034a645eee in quota_rename_cbk (frame=0x7f034f366c34, cookie=<value optimized out>, this=0x1bd8fb0, op_ret=0, 
    op_errno=61, buf=0x7f034ede9e44, preoldparent=0x7f034ede9f94, postoldparent=0x7f034edea004, prenewparent=0x7f034edea074, 
    postnewparent=0x7f034edea0e4, xdata=0x0) at quota.c:1846
#4  0x00000035ca42653d in default_rename_cbk (frame=0x7f034f3572f0, cookie=<value optimized out>, this=<value optimized out>, 
    op_ret=0, op_errno=61, buf=<value optimized out>, preoldparent=0x7f034ede9f94, postoldparent=0x7f034edea004, 
    prenewparent=0x7f034edea074, postnewparent=0x7f034edea0e4, xdata=0x0) at defaults.c:157
#5  0x00000035ca430cba in call_resume_unwind (stub=0x7f034ede9844) at call-stub.c:2421
#6  0x00000035ca432670 in call_resume (stub=0x7f034ede9844) at call-stub.c:2647
#7  0x00007f034a862b29 in marker_rename_done (frame=0x7f034f3572f0, cookie=<value optimized out>, this=0x1bd7bf0, 
    op_ret=<value optimized out>, op_errno=<value optimized out>, xdata=<value optimized out>) at marker.c:1106
#8  0x00007f034a86308b in marker_rename_release_newp_lock (frame=0x7f034f3572f0, cookie=<value optimized out>, this=0x1bd7bf0, 
    op_ret=<value optimized out>, op_errno=<value optimized out>, xdata=<value optimized out>) at marker.c:1167
#9  0x00007f034ac83b59 in iot_inodelk_cbk (frame=0x7f034f36c438, cookie=<value optimized out>, this=<value optimized out>, 
    op_ret=0, op_errno=0, xdata=<value optimized out>) at io-threads.c:2071
#10 0x00007f034aea73b2 in pl_common_inodelk (frame=0x7f034f374b44, this=<value optimized out>, volume=<value optimized out>, 
    inode=<value optimized out>, cmd=7, flock=<value optimized out>, loc=0x7f034edfaf48, fd=0x0) at inodelk.c:706
#11 0x00007f034aea7acd in pl_inodelk (frame=<value optimized out>, this=<value optimized out>, volume=<value optimized out>, 
    loc=<value optimized out>, cmd=<value optimized out>, flock=<value optimized out>) at inodelk.c:718
#12 0x00007f034ac8737d in iot_inodelk_wrapper (frame=0x7f034f36c438, this=0x1bd5930, volume=0x7f0320095140 "test-marker", 
    loc=0x7f034edfaf48, cmd=7, lock=0x7f034edfb048, xdata=0x0) at io-threads.c:2081
#13 0x00000035ca432aeb in call_resume_wind (stub=0x7f034edfaf08) at call-stub.c:2294
#14 call_resume (stub=0x7f034edfaf08) at call-stub.c:2645
#15 0x00007f034ac8fad8 in iot_worker (data=0x1befe70) at io-threads.c:191
#16 0x00000035c9407851 in start_thread () from /lib64/libpthread.so.0
#17 0x00000035c8ce85ad in clone () from /lib64/libc.so.6

Comment 3 shylesh 2014-11-11 09:07:23 UTC
verifed on glusterfs-3.4.0.70rhs-1.el6rhs.x86_64

Comment 5 errata-xmlrpc 2014-11-13 12:23:51 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://rhn.redhat.com/errata/RHBA-2014-1853.html