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

Failure to add node with 2.1.0 build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • ns_server
    • Security Level: Public
    • None

    Description

      Add node operation fails in 2.1.0 build with below error in UI log

      Server error during processing: ["web request failed",

      {path,"/controller/addNode"}

      ,

      {type,exit}

      ,
      {what,
      {timeout,
      {gen_server,call,
      [ns_cluster,
      {add_node,"10.3.3.139",8091,
      {"Administrator","password"}},
      65000]}}},
      {trace,
      [{gen_server,call,3,
      [

      {file,"gen_server.erl"}

      ,

      {line,188}

      ]},
      {ns_cluster,add_node,3,
      [

      {file,"src/ns_cluster.erl"}

      ,

      {line,71}

      ]},
      {menelaus_web,handle_add_node,1,
      [

      {file,"src/menelaus_web.erl"}, {line,1904}]},
      {menelaus_web,loop,3,
      [{file,"src/menelaus_web.erl"}

      ,

      {line,387}

      ]},
      {mochiweb_http,headers,5,
      [

      {file,"mochiweb_http.erl"}

      ,

      {line,136}

      ]},

      {proc_lib,init_p_do_apply,3,[]}

      ]}]

      Following crash reports can be seen in the logs:

      =========================CRASH REPORT=========================
      crasher:
      initial call: httpc_handler:init/1
      pid: <0.4528.0>
      registered_name: []
      exception error: no function clause matching
      httpc_request:send(

      {"10.3.3.139",8091},
      {session,
      {{"10.3.3.139",8091}

      ,<0.4528.0>},
      false,http,#Port<0.9209>,ip_comm,1,
      keep_alive,false},
      {request,#Ref<0.0.0.118311>,
      <0.278.0>,0,http,

      {"10.3.3.139",8091}

      ,
      "/engageCluster2",[],post,

      {http_request_h,undefined, "keep-alive",undefined,undefined, undefined,undefined,undefined, undefined,undefined,undefined, undefined,undefined,undefined, "Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==", undefined,undefined, "10.3.3.139:8091",undefined, undefined,undefined,undefined, undefined,undefined,undefined, undefined,undefined,[],undefined, undefined,undefined,undefined,"0", undefined,undefined,undefined, undefined,undefined,undefined,[]}

      ,
      {"application/json",
      "{\"availableStorage\":{\"hdd\":[

      {\"path\":\"/\",\"sizeKBytes\":19223252,\"usagePercent\":11}

      ,

      {\"path\":\"/dev\",\"sizeKBytes\":3059356,\"usagePercent\":1}

      ,

      {\"path\":\"/dev/shm\",\"sizeKBytes\":3064292,\"usagePercent\":0}

      ,

      {\"path\":\"/var/run\",\"sizeKBytes\":3064292,\"usagePercent\":1}

      ,

      {\"path\":\"/var/lock\",\"sizeKBytes\":3064292,\"usagePercent\":0}

      ,

      {\"path\":\"/lib/init/rw\",\"sizeKBytes\":3064292,\"usagePercent\":0}

      ,

      {\"path\":\"/var/lib/ureadahead/debugfs\",\"sizeKBytes\":19223252,\"usagePercent\":11}

      ,

      {\"path\":\"/boot\",\"sizeKBytes\":240972,\"usagePercent\":11}

      ]},\"memoryQuota\":3191,\"storageTotals\":{\"ram\":

      {\"total\":6275674112,\"quotaTotal\":3346006016,\"quotaUsed\":0,\"used\":2274729984,\"usedByData\":0}

      ,\"hdd\":{\"total\":19684610048,\"quotaTotal\":19684610048,\"used\":2165307105,\"usedByData\":0,\"free\":17519302943}},\"storage\":{\"ssd\":[],\"hdd\":[

      {\"path\":\"/opt/couchbase/var/lib/couchbase/data\",\"index_path\":\"/opt/couchbase/var/lib/couchbase/data\",\"quotaMb\":\"none\",\"state\":\"ok\"}

      ]},\"systemStats\":

      {\"cpu_utilization_rate\":0,\"swap_total\":0,\"swap_used\":0,\"minor_faults\":0,\"major_faults\":0,\"page_faults\":0}

      ,\"interestingStats\":{},\"uptime\":\"1429\",\"memoryTotal\":6275674112,\"memoryFree\":4000944128,\"mcdMemoryReserved\":4787,\"mcdMemoryAllocated\":4787,\"couchApiBase\":\"http://10.3.3.140:8092/\",\"otpNode\":\"ns_1@10.3.3.140\",\"otpCookie\":\"toppuhioabrgxsyo\",\"clusterMembership\":\"active\",\"status\":\"healthy\",\"thisNode\":true,\"hostname\":\"10.3.3.140:8091\",\"clusterCompatibility\":131072,\"version\":\"2.1.0-713-rel-enterprise\",\"os\":\"x86_64-unknown-linux-gnu\",\"ports\":{\"proxy\":11211,\"direct\":11210}}"},
      {http_options,"HTTP/1.1",30000,true,

      {essl,[]}

      ,
      undefined,false,30000,false},
      "http://10.3.3.139:8091/engageCluster2",
      [],none,[],1358778465153,undefined,
      undefined,false})
      in function httpc_handler:connect_and_send_first_request/3 (httpc_handler.erl, line 902)
      in call from httpc_handler:init/1 (httpc_handler.erl, line 237)
      ancestors: [httpc_handler_sup,httpc_sup,inets_sup,<0.179.0>]
      messages: []
      links: <0.185.0>,#Port<0.9209>
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 6765
      stack_size: 24
      reductions: 698
      neighbours:

      Attachments

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

        Activity

          People

            shashank Shashank Gupta
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty