Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-50354

[Windows] - Cluster init fails on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 7.1.0
    • 7.1.0
    • ns_server
    • 7.1.0 build 2042
    • Untriaged
    • Centos 64-bit
    • 1
    • Yes

    Description

      Steps to repro
      1. Install 7.1.0-2042
      2. Try to initialize the cluster. It fails with "Unexpected server error, request logged."
      See

      debug.log

      [ns_server:error,2022-01-11T22:26:58.571-08:00,ns_1@127.0.0.1:<0.12131.0>:menelaus_util:reply_server_error_before_close:209]Server error during processing: ["web request failed",
                                       {path,"/clusterInit"},
                                       {method,'POST'},
                                       {type,exit},
                                       {what,
                                        {timeout,
                                         {gen_server,call,
                                          [ns_audit,
                                           {log,cluster_settings,
                                            [{local,
                                              {[{ip,<<"172.23.136.139">>},
                                                {port,8091}]}},
                                             {remote,
                                              {[{ip,<<"10.100.195.147">>},
                                                {port,51037}]}},
                                             {real_userid,
                                              {[{domain,wrong_token},{user,<<>>}]}},
                                             {timestamp,
                                              <<"2022-01-11T22:26:53.569-08:00">>},
                                             {cluster_name,<<"aaa">>},
                                             {quotas,
                                              {[{kv,3017},
                                                {index,512},
                                                {fts,512},
                                                {cbas,1392},
                                                {eventing,256}]}}],
                                            false}]}}},
                                       {trace,
                                        [{gen_server,call,2,
                                          [{file,"gen_server.erl"},{line,239}]},
                                         {ns_audit,put,3,
                                          [{file,"src/ns_audit.erl"},{line,459}]},
                                         {menelaus_web_cluster,cluster_init,3,
                                          [{file,"src/menelaus_web_cluster.erl"},
                                           {line,88}]},
                                         {menelaus_web_cluster,
                                          '-handle_cluster_init/2-fun-2-',4,
                                          [{file,"src/menelaus_web_cluster.erl"},
                                           {line,74}]},
                                         {menelaus_util,survive_web_server_restart,
                                          1,
                                          [{file,"src/menelaus_util.erl"},
                                           {line,744}]},
                                         {request_tracker,request,2,
                                          [{file,"src/request_tracker.erl"},
                                           {line,40}]},
                                         {menelaus_util,handle_request,2,
                                          [{file,"src/menelaus_util.erl"},
                                           {line,220}]},
                                         {mochiweb_http,headers,6,
                                          [{file,
                                            "c:/Jenkins/workspace/couchbase-server-windows/couchdb/src/mochiweb/mochiweb_http.erl"},
                                           {line,150}]}]}]
      [ns_server:warn,2022-01-11T22:26:58.768-08:00,ns_1@127.0.0.1:<0.14965.0>:ns_memcached:connect:1224]Unable to connect: {error,{badmatch,[{inet,{error,econnrefused}}]}}, retrying.
      

      cbcollect_info attached. See 172.23.136.139.zip

      Attachments

        Issue Links

          Activity

            People

              Balakumaran.Gopal Balakumaran Gopal
              Balakumaran.Gopal Balakumaran Gopal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty