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

Eventing : With incorrect credentials supplied for a function, the function still goes into bootstrapping mode

    XMLWordPrintable

Details

    Description

      Build : 5.1.0-1382

      A function was created with incorrect RBAC credentials (incorrect password). The function when deployed still goes into bootstrapping mode, and there is no error

      Function :

      {"appname":"firstFunction","id":0,"depcfg":{"buckets":[{"alias":"dst_bucket","bucket_name":"dst_bucket"}],"metadata_bucket":"metadata","source_bucket":"src_bucket"},"appcode":"function OnUpdate(doc, meta) {\n    log('document', doc);\n    dst_bucket[meta.id] = doc;\n}\nfunction OnDelete(doc) {\n}","settings":{"checkpoint_interval":10000,"cleanup_timers":true,"cpp_worker_thread_count":2,"dcp_stream_boundary":"from_now","deadline_timeout":3,"deployment_status":true,"description":"Test Functions","enable_recursive_mutation":false,"execution_timeout":1,"lcb_inst_capacity":5,"log_level":"TRACE","processing_status":true,"rbacpass":"password1","rbacrole":"admin","rbacuser":"Administrator","skip_timer_threshold":86400,"sock_batch_size":1,"tick_duration":5000,"timer_processing_tick_interval":500,"timer_worker_pool_size":3,"worker_count":3}}
      

      Following errors are there in the eventing logs:
      2017-11-08T02:15:03.950-08:00 [Error] PRDR[firstFunction:0] GOCB Failed to connect to bucket metadata failed, err: authentication error
      2017-11-08T02:15:03.950-08:00 [Debug] RTLP Retrying after 1s
      2017-11-08T02:15:04.954-08:00 [Error] PRDR[firstFunction:0] GOCB Failed to connect to bucket metadata failed, err: authentication error
      2017-11-08T02:15:04.954-08:00 [Debug] RTLP Retrying after 1s

      Attachments

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

        Activity

          People

            siri Sriram Melkote (Inactive)
            mihir.kamdar Mihir Kamdar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty