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

[Windows] - Cluster init fails on windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            Last good build - 7.1.0-1934

            ritam.sharma Ritam Sharma added a comment - Last good build - 7.1.0-1934
            ritam.sharma Ritam Sharma added a comment - Might be dup of - https://issues.couchbase.com/browse/MB-50325
            owend Daniel Owen added a comment -

            Sure - unfortunately its a different issue.
            couchbase.log is repeatedly reporting:

            EventType=1
            Logfile=System
            Message=The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
            {D63B10C5-BB46-4990-A94F-E40B9D520160}
             and APPID
            {9CA88EE3-ACB7-47C8-AFC4-AB702511C276}
             to the user WIN-1T98IIFH727\Administrator SID (S-1-5-21-2357389113-2884284035-891089367-500) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
            SourceName=Microsoft-Windows-DistributedCOM
            TimeGenerated=20220112062034.080339-000
            

            owend Daniel Owen added a comment - Sure - unfortunately its a different issue. couchbase.log is repeatedly reporting: EventType=1 Logfile=System Message=The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID {D63B10C5-BB46-4990-A94F-E40B9D520160} and APPID {9CA88EE3-ACB7-47C8-AFC4-AB702511C276} to the user WIN-1T98IIFH727\Administrator SID (S-1-5-21-2357389113-2884284035-891089367-500) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool. SourceName=Microsoft-Windows-DistributedCOM TimeGenerated=20220112062034.080339-000
            owend Daniel Owen added a comment -

            Looks to be an environmental issue
            Balakumaran Gopal Could you try build 7.1.0-1935 and 7.1.0-1934 (1935 is the build with the magma change)
            If 1934 works (again) but 1935 breaks then it points back to being a dup. But currently it from couchbase.log it looks to be a separate issue.

            owend Daniel Owen added a comment - Looks to be an environmental issue Balakumaran Gopal Could you try build 7.1.0-1935 and 7.1.0-1934 (1935 is the build with the magma change) If 1934 works (again) but 1935 breaks then it points back to being a dup. But currently it from couchbase.log it looks to be a separate issue.

            Ran this test on Win10.
            Worked on 7.1.0-1934 but not on 7.1.0-1935.

            Log :- http://qa.sc.couchbase.com/job/temp_rebalance_even_win/106/console

            So, this indeed is a dup of MB-50325.

            Balakumaran.Gopal Balakumaran Gopal added a comment - Ran this test on Win10. Worked on 7.1.0-1934 but not on 7.1.0-1935. Log :- http://qa.sc.couchbase.com/job/temp_rebalance_even_win/106/console So, this indeed is a dup of MB-50325 .

            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:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty