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

Eventing UI: slow and unresponsive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • Integration
    • None
    • Untriaged
    • Unknown

    Description

      Background
      Build from Vulcan Manifest

      Problem
      When I access the eventing tab in the UI it takes ~10s to load.
      When I click on add function nothing happens.

      Chrome dev tools console reports 504 errors:

      ns_server reports the following error:

      [ns_server:error,2018-05-29T15:46:02.081+01:00,n_0@127.0.0.1:service_status_keeper_worker<0.438.0>:rest_utils:get_json_local:63]Request to (eventing) api/v1/functions failed: {error,timeout}
      [ns_server:error,2018-05-29T15:46:02.081+01:00,n_0@127.0.0.1:service_status_keeper-eventing<0.445.0>:service_status_keeper:handle_cast:119]Service service_eventing returned incorrect status
      

      In the eventing log, the last few messages are:

      5-29T15:51:09.513+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision(nil)
      2018-05-29T15:51:09.514+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:51:09.514+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:51:39.516+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision(nil)
      2018-05-29T15:51:39.516+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision(nil)
      2018-05-29T15:51:39.517+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:51:39.517+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:52:09.521+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision(nil)
      2018-05-29T15:52:09.521+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision(nil)
      2018-05-29T15:52:09.522+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:52:09.522+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:52:39.524+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision(nil)
      2018-05-29T15:52:39.524+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision(nil)
      2018-05-29T15:52:39.526+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:52:39.526+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:53:09.529+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision(nil)
      2018-05-29T15:53:09.529+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision(nil)
      2018-05-29T15:53:09.530+01:00 [Info] ServiceMgr::GetCurrentTopology rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      2018-05-29T15:53:09.530+01:00 [Info] ServiceMgr::GetTaskList rev: service.Revision{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7}
      

      Steps to reproduce

      1. Checkout the Vulcan Manifest
      2. Build couchbase server
      3. launch using ./cluster_run -n1
      4. config ./cluster_connect -n 1 -T n0:kv+eventing
      5. Log into the UI
      6. click on the eventing tab

      Expectation

      For the UI to be responses as it has been in previous builds.

      Logs

      Incoming

      Attachments

        For Gerrit Dashboard: MB-29871
        # Subject Branch Project Status CR V

        Activity

          People

            vikas.chaudhary Vikas Chaudhary
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty