Rebalance failed and rebalance button is now disabled

Rebalance on my Couchbase 5.0 Server failed when removing a node and now I am stuck with a message at the top of the admin console, “Rebalance failed. See logs for detailed reason. You can try again.”.

The Rebalance button is now also disabled and I can not try again.

When I try to POST to http://node:8091/controller/rebalance I get the following response:

{
    "empty_known_nodes": 1
}

This happened on a brand new cluster that was just setup today … pretty disappointing.

Rebalance error message from logs:

Rebalance exited with reason {{badmatch,
{error,
{failed_nodes,
['ns_1@node']}}},
[{ns_janitor,cleanup_with_states,6,
[{file,"src/ns_janitor.erl"},{line,140}]},
{ns_rebalancer,do_run_janitor_pre_rebalance,1,
[{file,"src/ns_rebalancer.erl"},{line,766}]}]}

Any thoughts on this?

My resolution for this was to completely rebuild the cluster. Nothing else worked, including waiting.