[Gluster-devel] Rebalance is not working in single node cluster environment.
Anand Nekkunti
anekkunt at redhat.com
Sat Jun 13 07:28:15 UTC 2015
Hi All
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.
cleanup;
TEST launch_cluster 2;
TEST $CLI_1 peer probe $H2;
EXPECT_WITHIN $PROBE_TIMEOUT 1 check_peers
$CLI_1 volume create $V0 $H1:$B1/$V0 $H2:$B2/$V0
EXPECT 'Created' volinfo_field $V0 'Status';
$CLI_1 volume start $V0
EXPECT 'Started' volinfo_field $V0 'Status';
#Mount FUSE
TEST glusterfs -s $H1 --volfile-id=$V0 $M0;
TEST mkdir $M0/dir{1..4};
TEST touch $M0/dir{1..4}/files{1..4};
TEST $CLI_1 volume add-brick $V0 $H1:$B1/${V0}1 $H2:$B2/${V0}1
TEST $CLI_1 volume rebalance $V0 start
EXPECT_WITHIN 60 "completed" CLI_1_rebalance_status_field $V0
$CLI_2 volume status $V0
EXPECT 'Started' volinfo_field $V0 'Status';
cleanup;
Regards
Anand.N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1229139.t
Type: application/x-perl
Size: 1597 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20150613/29e88b32/attachment.pl>
More information about the Gluster-devel
mailing list