Error when enabling / disabling auto failover

Hi,

We are facing an issue when we try to enable or disabling the auto failover feature.
Windows 2012 Server R2 (vmWare) 3 Nodes
Couchbase 4.5.1

[ns_server:error,2017-02-23T17:29:45.824+01:00,ns_1@10.174.128.80:<0.29322.5652>:menelaus_web:loop:189]Server error during processing: [“web request failed”,
{path,"/settings/autoFailover"},
{method,‘POST’},
{type,exit},
{what,
{noproc,
{gen_server,call,
[{global,auto_failover},
{enable_auto_failover,120,1}]}}},
{trace,
[{gen_server,call,2,
[{file,
“c:/cygwin64/home/ADMINI~1/src/OTP_SR~1/lib/stdlib/src/gen_server.erl”},
{line,180}]},
{menelaus_web,
handle_settings_auto_failover_post,1,
[{file,“src/menelaus_web.erl”},
{line,2439}]},
{request_throttler,do_request,3,
[{file,“src/request_throttler.erl”},
{line,59}]},
{menelaus_web,loop,2,
[{file,“src/menelaus_web.erl”},
{line,167}]},
{mochiweb_http,headers,5,
[{file,
“c:/Jenkins/workspace/watson-windows/couchbase/couchdb/src/mochiweb/mochiweb_http.erl”},
{line,94}]},
{proc_lib,init_p_do_apply,3,
[{file,
“c:/cygwin64/home/ADMINI~1/src/OTP_SR~1/lib/stdlib/src/proc_lib.erl”},
{line,239}]}]}]

Best regards,

David.

It’s possible this is related to a bug in Erlang, see https://issues.couchbase.com/browse/MB-7282

Workaround it to run the following -
wget --user=Administrator --password=asdasd --post-data=‘rpc:call(mb_master:master_node(), erlang, apply ,[fun () -> erlang:exit(erlang:whereis(mb_master), kill) end, []]).’ http://localhost:8091/diag/eval