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

Eventing: CLI returns incorrect status for paused handler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.0.2
    • Cheshire-Cat
    • tools
    • Triaged
    • Centos 64-bit
    • 1
    • No

    Description

      Build - 7.0.0 - 5256

      Steps -

      • Create 2 default eventing handlers.
      • Deploy both the handlers.
      • Pause 1 of the 2 handlers.

      Status for paused handler is shown as "Deployed".

      CLI -

      couchbase-cli eventing-function-setup -c 10.112.190.102 -u Administrator -p password --list
      f1
       Status: Deployed
       Source Bucket: src_bucket
       Metadata Bucket: metadata
      f2
       Status: Deployed
       Source Bucket: src_bucket
       Metadata Bucket: metadata
      

      REST API -

      curl -XGET http://Administrator:password@10.112.190.102:8096/api/v1/status
      {
       "apps": [
        {
         "composite_status": "deployed",
         "name": "f1",
         "num_bootstrapping_nodes": 0,
         "num_deployed_nodes": 1,
         "deployment_status": true,
         "processing_status": true
        },
        {
         "composite_status": "paused",
         "name": "f2",
         "num_bootstrapping_nodes": 0,
         "num_deployed_nodes": 1,
         "deployment_status": true,
         "processing_status": false
        }
       ],
       "num_eventing_nodes": 1
      }
      

       

      Attachments

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

        Activity

          People

            sujay.gad Sujay Gad
            sujay.gad Sujay Gad
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty