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

/diag/ale rest call fails;

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.0.0
    • 4.0.0
    • ns_server
    • Security Level: Public
    • None
    • 4.0.0-2202
    • Untriaged
    • Unknown

    Description

      according to https://github.com/membase/ns_server/blob/master/src/menelaus_web.erl#L220

      curl http://Administrator:password@172.23.105.156:8091/_uistats
      ["Unexpected server error, request logged."]
      curl http://Administrator:password@172.23.105.156:8091/diag/vbuckets
      ["Unexpected server error, request logged."]
      curl http://Administrator:password@172.23.105.156:8091/diag/ale
      ["Unexpected server error, request logged."]
      http://Administrator:password@172.23.105.156:8091/indexStatus
      ["Unexpected server error, request logged."] MB-15046

      [ns_server:error,2015-05-20T02:46:31.671-07:00,ns_1@127.0.0.1:<0.28791.1>:menelaus_web:loop:181]Server error during processing: ["web request failed",

      {path,"/diag/vbuckets"}

      ,

      {method,'GET'},
      {type,error},
      {what,{badmatch,not_present}},
      {trace,
      [{menelaus_web,handle_diag_vbuckets,1,
      [{file,"src/menelaus_web.erl"},
      {line,2993}]},
      {menelaus_web,loop,2,
      [{file,"src/menelaus_web.erl"},
      {line,157}]},
      {mochiweb_http,headers,5,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/mochiweb/mochiweb_http.erl"},
      {line,94}]},
      {proc_lib,init_p_do_apply,3,
      [{file,"proc_lib.erl"},{line,239}]}]}]


      [ns_server:error,2015-05-20T01:11:53.094-07:00,ns_1@127.0.0.1:<0.425.0>:menelaus_web:loop:181]Server error during processing: ["web request failed",
      {path,"/indexStatus"},
      {method,'GET'}

      ,

      {type,exit}

      ,
      {what,
      {noproc,

      {gen_server,call, [index_status_keeper,get_indexes]}

      }},
      {trace,
      [{gen_server,call,2,
      [

      {file,"gen_server.erl"}

      ,

      {line,180}

      ]},
      {menelaus_web_indexes,handle_index_status,
      1,
      [

      {file,"src/menelaus_web_indexes.erl"}

      ,

      {line,69}

      ]},
      {request_throttler,do_request,3,
      [

      {file,"src/request_throttler.erl"},
      {line,59}]},
      {menelaus_web,loop,2,
      [{file,"src/menelaus_web.erl"},
      {line,159}]},
      {mochiweb_http,headers,5,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/mochiweb/mochiweb_http.erl"},
      {line,94}]},
      {proc_lib,init_p_do_apply,3,
      [{file,"proc_lib.erl"},{line,239}]}]}]





      [ns_server:error,2015-05-20T02:29:30.945-07:00,ns_1@127.0.0.1:<0.24842.0>:menelaus_web:loop:181]Server error during processing: ["web request failed",
      {path,"/_uistats"},
      {method,'GET'},
      {type,error},
      {what,{case_clause,undefined}},
      {trace,
      [{menelaus_stats,extract_ui_stats_params,1,
      [{file,"src/menelaus_stats.erl"},
      {line,2047}]},
      {menelaus_stats,serve_aggregated_ui_stats,
      2,
      [{file,"src/menelaus_stats.erl"},
      {line,2059}]},
      {request_throttler,do_request,3,
      [{file,"src/request_throttler.erl"}

      ,

      {line,59}

      ]},
      {menelaus_web,loop,2,
      [

      {file,"src/menelaus_web.erl"},
      {line,159}]},
      {mochiweb_http,headers,5,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/mochiweb/mochiweb_http.erl"},
      {line,94}]},
      {proc_lib,init_p_do_apply,3,
      [{file,"proc_lib.erl"},{line,239}]}]}]


      [ns_server:error,2015-05-20T02:49:05.814-07:00,ns_1@127.0.0.1:<0.29470.1>:menelaus_web:loop:181]Server error during processing: ["web request failed",
      {path,"/diag/ale"},
      {method,'GET'},
      {type,error},
      {what,function_clause},
      {trace,
      [{ejson,encode_array_rev,
      [{[{type,preformatted}]},
      [{0,<<"async">>},<<"[">>]],
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/ejson/ejson.erl"},
      {line,89}]},
      {ejson,encode_proplist_rev,2,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/ejson/ejson.erl"},
      {line,101}]},
      {ejson,encode_proplist_rev,2,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/ejson/ejson.erl"},
      {line,101}]},
      {ejson,nif_encode,1,
      [{file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/ejson/ejson.erl"},
      {line,57}]},
      {menelaus_util,encode_json,1,
      [{file,"src/menelaus_util.erl"},
      {line,446}]},
      {menelaus_util,reply_json,2,
      [{file,"src/menelaus_util.erl"},
      {line,129}]},
      {menelaus_web,loop,2,
      [{file,"src/menelaus_web.erl"}

      ,

      {line,157}

      ]},
      {mochiweb_http,headers,5,
      [

      {file, "/home/couchbase/jenkins/workspace/sherlock-unix/couchdb/src/mochiweb/mochiweb_http.erl"}

      ,

      {line,94}

      ]}]}]

      Attachments

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

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty