Error Adding server to cluster
Hi,
I just installed couchbase on a windows machine and created 2 buckets, after that I installed couchbase on another server (windows too) and tried to join it to a cluster with the first one, after rebalancing I got an error and I can see on the web console that one of the buckets have two servers and the other just one, the error that I see on logs is the next:
Server error during processing: ["web request failed",
{path,
"/pools/default/buckets/Session/statsDirectory"},
{type,exit},
{what,
{noproc,
{gen_server,call,
['capi_set_view_manager-Session',
{foreach_doc,
#Fun},
infinity]}}},
{trace,
[{gen_server,call,3},
{capi_ddoc_replication_srv,
foreach_live_ddoc_id,2},
{capi_ddoc_replication_srv,fetch_ddoc_ids,
1},
{menelaus_stats,
couchbase_view_stats_descriptions,1},
{menelaus_stats,membase_stats_description,
1},
{menelaus_stats,serve_stats_directory,3},
{menelaus_web_buckets,
checking_bucket_access,4},
{menelaus_web,loop,3}]}]
Could someone give an idea about this?
Please file bug on http://www.couchbase.com/issues/secure/Dashboard.jspa. We'll need cbcollect_info output attached (warning, it does expose your couchbase passwords).
From your information it appears that rebalance failed in the beginning of rebalancing first bucket.
Error message that you report above is not directly relevant to rebalance failure. But there's possibility that this was some transient error. Our rebalance is built in such a way that if it fails there's no data loss. It's normally safe to try rebalance again. I cannot say from information I have if problem you had is transient or not. If it's transient then most likely next rebalance attempt will succeed.
In any case, I'd like you to help us fix this problem. So please file a bug.