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

[Sanity] - /nodeStatuses fails with ["Unexpected server error, request logged."]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 7.0.0
    • Cheshire-Cat
    • ns_server
    • 7.0.0-5148-enterprise
    • Untriaged
    • Centos 64-bit
    • 1
    • Yes

    Description

      Scripts to Repro

      ./testrunner -i node_conf.ini -p get-cbcollect-info=True,get-couch-dbinfo=True,skip_cleanup=False,skip_log_scan=False,skip_security_scan=False -t xdcr.biXDCR.bidirectional.load_with_async_ops,replicas=1,items=1000,ctopology=chain,rdirection=bidirection,update=C1-C2,delete=C1-C2
      

      So , basically lot of tests in sanity are failing while trying to get from the api http://<ip>:8091/nodeStatuses

      [2021-05-11 17:10:11,963] - [rest_client:1022] ERROR - GET http://172.23.105.151:8091/nodeStatuses body:  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
      

      debug.log - 172.23.105.151

      [ns_server:error,2021-05-11T17:10:11.960-07:00,ns_1@172.23.105.151:<0.18190.0>:menelaus_util:reply_server_error:206]Server error during processing: ["web request failed",
                                       {path,"/nodeStatuses"},
                                       {method,'GET'},
                                       {type,error},
                                       {what,function_clause},
                                       {trace,
                                        [{proplists,lookup,
                                          [port_meta,
                                           {{node,'ns_1@172.23.105.153',rest},
                                            [{'_vclock',
                                              [{<<"99f01cfca55fe1ed80a622a68992633a">>,
                                                {1,63787997402}}]},
                                             {port,8091},
                                             {port_meta,global}]}],
                                          [{file,"proplists.erl"},{line,133}]},
                                         {ns_config,search_node_prop,5,
                                          [{file,"src/ns_config.erl"},{line,574}]},
                                         {service_ports,get_port,3,
                                          [{file,"src/service_ports.erl"},
                                           {line,177}]},
                                         {menelaus_web_node,build_node_hostname,3,
                                          [{file,"src/menelaus_web_node.erl"},
                                           {line,442}]},
                                         {menelaus_web_node,
                                          '-handle_node_statuses/1-fun-0-',7,
                                          [{file,"src/menelaus_web_node.erl"},
                                           {line,664}]},
                                         {lists,map,2,
                                          [{file,"lists.erl"},{line,1239}]},
                                         {lists,map,2,
                                          [{file,"lists.erl"},{line,1239}]},
                                         {menelaus_web_node,handle_node_statuses,1,
                                          [{file,"src/menelaus_web_node.erl"},
                                           {line,639}]}]}]
      

      cbcollect_info attached. These tests last passed on 7.0.0-5146.

      Automation log : consoleText_sanity_failure.txt
      Atleast 2 more tests are failing with this error.

      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)
            Balakumaran.Gopal Balakumaran Gopal
            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