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

Eventing: Handler deployment fails with ERR_PROCESSING_OR_DEPLOYMENT_STATUS_NOT_FOUND

    XMLWordPrintable

Details

    Description

      QE TEST

      ./testrunner -i /tmp/testexec.46174.ini -p get-cbcollect-info=True,GROUP=rebalance_multi,num_functions=5,reset_services=False,skip_log_scan=False -t eventing.eventing_rebalance.EventingRebalance.test_kv_eventing_rebalance_with_multiple_functions_deployed,nodes_init=7,services_init=kv-kv-kv-eventing-eventing-eventing-index:n1ql,dataset=default,groups=simple,reset_services=True,doc-per-day=1,services_in=eventing,server_out=4,handler_code=bucket_op_with_doc_timer_rand,skip_validation=False,GROUP=rebalance_multi
      

      ERROR

      ERROR - POST http://172.23.122.136:8096/api/v1/functions/Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3/deploy body:  headers: {'Content-type': 'application/json', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=='} error: 400 reason: unknown b'{\n "name": "ERR_PROCESSING_OR_DEPLOYMENT_STATUS_NOT_FOUND",\n "code": 23,\n "description": "Processing or deployment status or both missing from supplied settings",\n "attributes": null,\n "runtime_info": {\n  "code": 23,\n  "info": "Failed to find app status"\n }\n}' auth: Administrator:password
      

      On 172.23.122.136
      eventing.log

      2021-10-21T10:51:02.236-07:00 [Error] util::ReadAppContent Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 app content doesn't exist or is empty
      2021-10-21T10:51:02.237-07:00 [Error] util::ReadAppContent Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 app content doesn't exist or is empty
      2021-10-21T10:51:03.321-07:00 [Error] util::CheckIfAppBootstrapOngoing Failed to interpret bootstrap status from url: http://172.23.122.139:8096/getBootstrapAppStatus?appName=Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3, err: strconv.ParseBool: parsing "{\n \"name\": \"ERR_APP_NOT_FOUND_TS\",\n \"code\": 13,\n \"description\": \"Function not found in temporary store\",\n \"attributes\": null,\n \"runtime_info\": {\n  \"code\": 13,\n  \"info\": \"Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 not found\"\n }\n}": invalid syntax
      2021-10-21T10:51:03.321-07:00 [Error] ServiceMgr::getAggBootstrapAppStatus failed to grab correct bootstrap status of app from some/all nodes, err: strconv.ParseBool: parsing "{\n \"name\": \"ERR_APP_NOT_FOUND_TS\",\n \"code\": 13,\n \"description\": \"Function not found in temporary store\",\n \"attributes\": null,\n \"runtime_info\": {\n  \"code\": 13,\n  \"info\": \"Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 not found\"\n }\n}": invalid syntax
      2021-10-21T10:51:03.321-07:00 [Error] util::GetAggBootstrapAppStatus Failed to interpret bootstrap status from url: http://127.0.0.1:8096/getAggBootstrapAppStatus?appName=Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3, err: strconv.ParseBool: parsing "Failed to get progress, err: strconv.ParseBool: parsing \"{\\n \\\"name\\\": \\\"ERR_APP_NOT_FOUND_TS\\\",\\n \\\"code\\\": 13,\\n \\\"description\\\": \\\"Function not found in temporary store\\\",\\n \\\"attributes\\\": null,\\n \\\"runtime_info\\\": {\\n  \\\"code\\\": 13,\\n  \\\"info\\\": \\\"Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 not found\\\"\\n }\\n}\": invalid syntax": invalid syntax
      2021-10-21T10:51:03.321-07:00 [Error] ServiceMgr::setSettings strconv.ParseBool: parsing "Failed to get progress, err: strconv.ParseBool: parsing \"{\\n \\\"name\\\": \\\"ERR_APP_NOT_FOUND_TS\\\",\\n \\\"code\\\": 13,\\n \\\"description\\\": \\\"Function not found in temporary store\\\",\\n \\\"attributes\\\": null,\\n \\\"runtime_info\\\": {\\n  \\\"code\\\": 13,\\n  \\\"info\\\": \\\"Function: Function_325974028_test_kv_eventing_rebalance_with_multiple_functions_deployed3 not found\\\"\\n }\\n}\": invalid syntax": invalid syntax
      

      Similar issue MB-48963 was fixed on 7.1.0 build 1534.

      Attachments

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

        Activity

          People

            ankit.prabhu Ankit Prabhu
            sujay.gad Sujay Gad
            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