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

addNode rest call failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 7.1.0
    • 7.1.0
    • ns_server
    • 7.1.0-1490
    • Untriaged
    • Centos 64-bit
    • 1
    • Yes

    Description

      Rest api call to add node .191 to cluster with .190 is failing:

      20:43:26 2021-10-13 20:43:26,753 - root - ERROR - POST http://172.23.107.190:8091/controller/addNode body: hostname=http%3A%2F%2F172.23.107.191%3A8091&user=Administrator&password=password headers: {'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==', 'Accept': '*/*'} error: 500 reason: unknown b'["Unexpected server error, request logged."]' auth: Administrator:password
      

      In error.log on .190:

      [ns_server:error,2021-10-13T20:43:26.752-07:00,ns_1@172.23.107.190:<0.2979.0>:menelaus_util:reply_server_error:207]Server error during processing: ["web request failed",
                                       {path,"/controller/addNode"},
                                       {method,'POST'},
                                       {type,exit},
                                       {what,
                                        {shun_failed,
                                         {gen_server,call,
                                          [ns_cluster,
                                           {add_node_to_group,http,
                                            "172.23.107.191",8091,
                                            {"Administrator","password"},
                                            undefined,
                                            [kv]},
                                           240000]}}},
                                       {trace,
                                        [{gen_server,call,3,
                                          [{file,"gen_server.erl"},{line,223}]},
                                         {ns_cluster,add_node_to_group,6,
                                          [{file,"src/ns_cluster.erl"},{line,80}]},
                                         {menelaus_web_cluster,do_handle_add_node,
                                          2,
                                          [{file,"src/menelaus_web_cluster.erl"},
                                           {line,644}]},
                                         {request_throttler,do_request,3,
                                          [{file,"src/request_throttler.erl"},
                                           {line,58}]},
                                         {menelaus_util,handle_request,2,
                                          [{file,"src/menelaus_util.erl"},
                                           {line,218}]},
                                         {mochiweb_http,headers,6,
                                          [{file,
                                            "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/mochiweb/mochiweb_http.erl"},
                                           {line,150}]},
                                         {proc_lib,init_p_do_apply,3,
                                          [{file,"proc_lib.erl"},{line,249}]}]}]
      [ns_server:error,2021-10-13T20:43:31.378-07:00,ns_1@172.23.107.190:wait_link_to_couchdb_node<0.6628.0>:ns_server_nodes_sup:do_wait_link_to_couchdb_node:190]ns_couchdb_port(<0.6615.0>) died with reason {abnormal,1}
      

      Last good build: 7.1.0-1487

      Attachments

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

        Activity

          People

            dfinlay Dave Finlay
            pavithra.mahamani Pavithra Mahamani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty