Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
6.5.0
-
Untriaged
-
Unknown
Description
I was trying to recreate MB-36428 on a two node vagrant cluster and somehow the cluster got into the state where the UI "Servers" would just spin. Triaging this I found that the UI was doing pools/default/tasks which was getting the server error as this code was throwing an error:
do_build_rebalance_task(Timeout) -> |
<snip>
|
ReportURI = |
case ns_rebalance_report_manager:get_last_report_uuid() of |
undefined ->
|
[];
|
UUID -> |
URI = list_to_binary( |
"/logs/rebalanceReport?reportID="), |
[{lastReportURI, <<URI/binary, UUID/binary>>}] |
end, |
|
Using couchbase-cli I found the rebalance_reports was incomplete. It's missing
the UUID:
(ns_1@10.112.194.101)8> ns_config:read_key_fast(rebalance_reports, []).
|
[{'ns_1@10.112.194.101',"rebalance_report_2019-10-14T20:28:27Z.json"}] |
I destroyed the vagrant cluster and then rebuild it. This is how the rebalance_reports should look:
(ns_1@10.112.194.101)2> ns_config:read_key_fast(rebalance_reports, []).
|
[{<<"205464a5fc3685d189c7dcd60a10af4a">>, |
[{node,'ns_1@10.112.194.101'}, |
{filename,"rebalance_report_2019-10-14T21:40:06Z.json"}]}] |