<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 06/13/2015 02:27 PM, Atin Mukherjee
wrote:<br>
</div>
<blockquote
cite="mid:CAGkR8FOHb03Bd3irQ2p2Ai3z++VRsUd7-vgVNo_weominyZa4Q@mail.gmail.com"
type="cite">
<p dir="ltr">Sent from Samsung Galaxy S4<br>
On 13 Jun 2015 13:15, "Raghavendra Talur" <<a
moz-do-not-send="true"
href="mailto:raghavendra.talur@gmail.com">raghavendra.talur@gmail.com</a>>
wrote:<br>
><br>
><br>
><br>
> On Sat, Jun 13, 2015 at 1:00 PM, Atin Mukherjee <<a
moz-do-not-send="true"
href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>>
wrote:<br>
>><br>
>> Sent from Samsung Galaxy S4<br>
>> On 13 Jun 2015 12:58, "Anand Nekkunti" <<a
moz-do-not-send="true" href="mailto:anekkunt@redhat.com">anekkunt@redhat.com</a>>
wrote:<br>
>> ><br>
>> > Hi All<br>
>> > Rebalance is not working in single node cluster
environment ( current test frame work ). I am getting error in
below test , it seems re-balance is not migrated to current
cluster test framework.<br>
>> Could you pin point which test case fails and what log
do you see?<br>
>> ><br>
>> > cleanup;<br>
>> > TEST launch_cluster 2;<br>
>> > TEST $CLI_1 peer probe $H2;<br>
>> ><br>
>> > EXPECT_WITHIN $PROBE_TIMEOUT 1 check_peers<br>
>> ><br>
>> > $CLI_1 volume create $V0 $H1:$B1/$V0 $H2:$B2/$V0<br>
>> > EXPECT 'Created' volinfo_field $V0 'Status';<br>
>> ><br>
>> > $CLI_1 volume start $V0<br>
>> > EXPECT 'Started' volinfo_field $V0 'Status';<br>
>> ><br>
>> > #Mount FUSE<br>
>> > TEST glusterfs -s $H1 --volfile-id=$V0 $M0;<br>
>> ><br>
>> > TEST mkdir $M0/dir{1..4};<br>
>> > TEST touch $M0/dir{1..4}/files{1..4};<br>
>> ><br>
>> > TEST $CLI_1 volume add-brick $V0 $H1:$B1/${V0}1
$H2:$B2/${V0}1<br>
>> ><br>
>> > TEST $CLI_1 volume rebalance $V0 start<br>
>> ><br>
>> > EXPECT_WITHIN 60 "completed"
CLI_1_rebalance_status_field $V0<br>
>> ><br>
>> > $CLI_2 volume status $V0<br>
>> > EXPECT 'Started' volinfo_field $V0 'Status';<br>
>> ><br>
>> > cleanup;<br>
>> ><br>
>> > Regards<br>
>> > Anand.N<br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Gluster-devel mailing list<br>
>> > <a moz-do-not-send="true"
href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
>> > <a moz-do-not-send="true"
href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
>> ><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Gluster-devel mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
>> <a moz-do-not-send="true"
href="http://www.gluster.org/mailman/listinfo/gluster-devel">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
>><br>
><br>
> If it is a crash of glusterd when you do rebalance start,
it is because of FORTIFY_FAIL in libc.<br>
> Here is the patch that Susant has already sent: <a
moz-do-not-send="true"
href="http://review.gluster.org/#/c/11090/">http://review.gluster.org/#/c/11090/</a><br>
><br>
> You can verify that it is the same crash by checking the
core in gdb; a SIGABRT would be raised<br>
> after strncpy.<br>
</p>
</blockquote>
<br>
glusterd is not crashing, but I am getting rebalance status as
fail in my test case. It is happening in test frame work ( any
simulated cluster environment in same node ) only.<br>
RCA: <br>
1. we are passing always "localhost" as volfile server for rebalance
xlator .<br>
2.Rebalance processes are overwriting unix socket and log files
each other (All rebalance processes are creating socket with same
name) .<br>
<br>
I will send patch for this <br>
<br>
Regards<br>
Anand.N
<blockquote
cite="mid:CAGkR8FOHb03Bd3irQ2p2Ai3z++VRsUd7-vgVNo_weominyZa4Q@mail.gmail.com"
type="cite">
<p dir="ltr">
><br>
AFAIR Anand tried it in mainline and that fix was already in
place. I think this is something different.<br>
> -- <br>
> Raghavendra Talur <br>
><br>
</p>
</blockquote>
<br>
</body>
</html>