DESCRIPTION

CBQE-2195 Rebalance status check fix

Change-Id: Ic38460af997affa118e20d8f98dbdd933da2ebee


COMMENTS

author: Quentin Ali
date: 2014-04-11 22:30:18.927000000

Uploaded patch set 4.

-------------------------------------
author: Quentin Ali
date: 2014-04-11 22:32:05.310000000

Patch Set 4:

Andrei, fixed, check now

-------------------------------------
author: Hugo Blankenship
date: 2014-04-11 22:44:59.942000000

Patch Set 4:

Build Started http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/1018/

-------------------------------------
author: Hugo Blankenship
date: 2014-04-11 23:26:21.614000000

Patch Set 4: Verified-1

Build Failed 

http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/1018/ : FAILURE

-------------------------------------
author: Esperanza Cherry
date: 2014-04-11 23:44:49.399000000

Patch Set 4:

(3 comments)

Line:81, lib/membase/api/rest_client.py -> could you take a look at http://10.3.4.144:8091/pools/default/tasks:
[{"type":"rebalance","status":"notRunning"}]. an then take a look on UI:
Fail Over Warning: Rebalance required, some data is not currently replicated! is_cluster_rebalanced returns True, but should be False for this cluster

Line:1128, lib/membase/api/rest_client.py -> I think you haven't add this method at all. _rebalance_progress_status does the same

Line:1132, lib/membase/api/rest_client.py -> should be:
content = self.ns_server_tasks()
        for task in content:
            if item["type"] == "rebalance":
                   handle_content_here

-------------------------------------
