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

[System test]: Internal server error while adding node to cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 6.5.1
    • 6.5.1
    • ns_server
    • Untriaged
    • Unknown

    Description

      Build: 6.5.1-6260

      Seeing Internal server error when adding node to cluster

      [2020-03-16T01:42:20-07:00, sequoiatools/couchbase-cli:6.5:58fc5c] server-add -c 172.23.108.103 -u Administrator -p password --server-add 172.23.106.100 --server-add-username Administrator --server-add-password password --services data
       
      Error occurred on container - sequoiatools/couchbase-cli:6.5:[server-add -c 172.23.108.103 -u Administrator -p password --server-add 172.23.106.100 --server-add-username Administrator --server-add-password password --services data]
       
      docker logs 58fc5c
      docker start 58fc5c
       
      8ERROR: Internal server error, please retry your request 

      error.log

      ns_server:error,2020-03-16T01:42:22.854-07:00,ns_1@172.23.108.103:dist_manager<0.165.0>:dist_manager:wait_for_node:276]Failed to wait for node 'couchdb_ns_1@cb.local'
      [ns_server:error,2020-03-16T01:42:22.855-07:00,ns_1@172.23.108.103:<0.9809.0>:menelaus_web:loop:163]Server error during processing: ["web request failed",
                                       {path,
                                        "/pools/default/serverGroups/0/addNode"},
                                       {method,'POST'},
                                       {type,exit},
                                       {what,
                                        {{{error,wait_for_node_failed},
                                          {gen_server,call,
                                           [dist_manager,
                                            {adjust_my_address,"172.23.108.103",
                                             false,#Fun<ns_cluster.11.71046678>},
                                            infinity]}},
                                         {gen_server,call,
                                          [ns_cluster,
                                           {add_node_to_group,https,
                                            "172.23.106.100",18091,
                                            {"Administrator","password"},
                                            <<"0">>,
                                            [kv]},
                                           160000]}}},
                                       {trace,
                                        [{gen_server,call,3,
                                          [{file,"gen_server.erl"},{line,214}]},
                                         {ns_cluster,add_node_to_group,6,
                                          [{file,"src/ns_cluster.erl"},{line,81}]},
                                         {menelaus_web_cluster,do_handle_add_node,
                                          2,
                                          [{file,"src/menelaus_web_cluster.erl"},
                                           {line,646}]},
                                         {request_throttler,do_request,3,
                                          [{file,"src/request_throttler.erl"},
                                           {line,59}]},
                                         {menelaus_web,loop,2,
                                          [{file,"src/menelaus_web.erl"},
                                           {line,141}]},
                                         {mochiweb_http,headers,5,
                                          [{file,
                                            "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/mochiweb/mochiweb_http.erl"},
                                           {line,94}]},
                                         {proc_lib,init_p_do_apply,3,
                                          [{file,"proc_lib.erl"},{line,247}]}]}] 

      Seeing similar issue with functional tests as well. 

      Attachments

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

        Activity

          People

            dfinlay Dave Finlay
            vikas.chaudhary Vikas Chaudhary
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty