On 08/30/2017 06:09 AM, Shwetha Panduranga wrote:
Case:
1) add-brick when IO is in progress , wait for 30 seconds
2) Trigger rebalance
3) Execute: 'rebalance status' ( there is no time delay b/w 2) and 3) )
The error is observed in the above step as per the logs. The reasons are
as stated by Atin amd myself, that one of the rebalance processes not
fully up yet, leading to the error, as these processes are started using
the nowait mode.
The suggestion would be to check for status after a pause, or check for
status in a loop till a timeout. This will enable the test to go ahead.
4) wait_for_rebalance_to_complete ( This get's the xml output of
rebalance status and keep checking for rebalance status to be 'complete'
for every 10 seconds uptil 5 minutes. 5 minutes wait time can be passed
as parameter )
At every step we check the exit status of the command output. If the
exit status is non-zero we fail the test case.
-Shwetha
On Wed, Aug 30, 2017 at 6:06 AM, Sankarshan Mukhopadhyay
<sankarshan.mukhopadhyay@xxxxxxxxx
<mailto:sankarshan.mukhopadhyay@xxxxxxxxx>> wrote:
On Wed, Aug 30, 2017 at 6:03 AM, Atin Mukherjee <amukherj@xxxxxxxxxx
<mailto:amukherj@xxxxxxxxxx>> wrote:
>
> On Wed, 30 Aug 2017 at 00:23, Shwetha Panduranga <spandura@xxxxxxxxxx <mailto:spandura@xxxxxxxxxx>>
> wrote:
>>
>> Hi Shyam, we are already doing it. we wait for rebalance status to be
>> complete. We loop. we keep checking if the status is complete for '20'
>> minutes or so.
>
>
> Are you saying in this test rebalance status was executed multiple times
> till it succeed? If yes then the test shouldn't have failed. Can I get to
> access the complete set of logs?
Would you not prefer to look at the specific test under discussion
as well?
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx <mailto:Gluster-devel@xxxxxxxxxxx>
http://lists.gluster.org/mailman/listinfo/gluster-devel
<http://lists.gluster.org/mailman/listinfo/gluster-devel>
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel