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

add and rebalancing a node fails in the first attempt in 2.0 ({gen_fsm,sync_send_event,2}, {menelaus_web,do_handle_rebalance,3}

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta
    • Fix Version/s: 2.0
    • Component/s: None
    • Security Level: Public
    • Environment:
      Windows 2008 64 bit servers

      Description

      1) Create a 3 node cluster
      2) Select any one of them as master
      3) Add other nodes to this master
      4) Rebalance.

      From the AdminLog:-
      Server error during processing: ["web request failed",

      {path,"/controller/rebalance"}

      ,

      {type,exit}

      ,
      {what,
      {noproc,
      {gen_fsm,sync_send_event,
      [

      {global,ns_orchestrator}

      ,

      {start_rebalance, ['ns_1@10.1.6.39','ns_1@10.1.6.38', 'ns_1@10.1.6.40'], [],[]}

      ]}}},
      {trace,
      [

      {gen_fsm,sync_send_event,2}

      ,

      {menelaus_web,do_handle_rebalance,3}

      ,

      {menelaus_web,loop,3}

      ,

      {mochiweb_http,headers,5}

      ,

      From the diagnostic report.

      [

      {registered_name,[]}

      ,

      {status,waiting}

      ,
      {initial_call,{proc_lib,init_p,5}},
      {backtrace,
      [<<"Program counter: 0x03dd4aa8 (gen_fsm:loop/7 + 152)">>,
      <<"CP: 0x00000000 (invalid)">>,<<"arity = 0">>,<<>>,
      <<"0x0473468c Return addr 0x01595750 (proc_lib:init_p_do_apply/3 + 28)">>,
      <<"y(0) []">>,<<"y(1) infinity">>,
      <<"y(2) mc_daemon">>,
      <<"(3)

      {state,<<7 bytes>>,true,0,nil,[],100,undefined,0,8,<0.3723.1>,nil,[],#Port<0.14666">>, <<"y(4) processing">>,<<"y(5) <0.3722.1>">>, <<"y(6) <0.3721.1>">>,<<>>, <<"0x047346ac Return addr 0x01223c44 (<terminate process normally>)">>, <<"y(0) Catch 0x01595760 (proc_lib:init_p_do_apply/3 + 44)">>, <<>>]}

      ,

      1. ns-diag-20110819141025.txt
        4.49 MB
        Karan Kumar
      2. ns-diag-20110819152826.txt
        2.47 MB
        Farshid Ghods
      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-4214=message:MB-4214

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        blocker for 2.0 developer preview

        Show
        farshid Farshid Ghods (Inactive) added a comment - blocker for 2.0 developer preview
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        attached the diags

        Show
        farshid Farshid Ghods (Inactive) added a comment - attached the diags
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        has diag from 10.1.6.40 9 first node and 10.1.6.39 node which was added and rebalance failed first time but succeeded second time

        Show
        farshid Farshid Ghods (Inactive) added a comment - has diag from 10.1.6.40 9 first node and 10.1.6.39 node which was added and rebalance failed first time but succeeded second time
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        workaround is to click on rebalance again

        Show
        farshid Farshid Ghods (Inactive) added a comment - workaround is to click on rebalance again
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        this issue also happens on centos 5.4 - need to try it on a standard centos 5.4 and see if it works

        Show
        farshid Farshid Ghods (Inactive) added a comment - this issue also happens on centos 5.4 - need to try it on a standard centos 5.4 and see if it works
        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - http://review.couchbase.org/11242
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ns-server-2-0 #233 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/233/)

        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ns-server-2-0 #233 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/233/ )

          People

          • Assignee:
            alkondratenko Aleksey Kondratenko (Inactive)
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes