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

[TLS] select fails: Error performing bulk get operation

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Description

      To repro.

      • setup 2 nodes cluster (kv:n1ql:index-kv)
      • load travel-sample bucket
      • enable N2N encryption: /opt/couchbase/bin/couchbase-cli node-to-node-encryption -c http://localhost:8091 -u Administrator -p password --enable
      • set TLS strict mode: /opt/couchbase/bin/couchbase-cli setting-security -c http://localhost:8091 -u Administrator -p password --set --cluster-encryption-level strict
      • Try simple select from `travel-sample`

      Error seen:

      cbq> select * from `travel-sample` use keys 'airline_10';
      {
          "requestID": "d11eb024-93bb-44c5-a473-fe13233171d3",
          "signature": {
              "*": "*"
          },
          "results": [
          ],
          "errors": [
              {
                  "code": 12008,
                  "msg": "Error performing bulk get operation  - cause: unable to complete action after 4 attempts: \u003cnil\u003e",
                  "retry": true
              }
          ],
          "status": "errors",
          "metrics": {
              "elapsedTime": "676.709455ms",
              "executionTime": "676.535487ms",
              "resultCount": 0,
              "resultSize": 0,
              "serviceLoad": 6,
              "errorCount": 1
          }
      }
      cbq> select * from `travel-sample` limit 2;
      {
          "requestID": "6c77e81f-2731-4d48-9b49-43ad503fe6d8",
          "signature": {
              "*": "*"
          },
          "results": [
          ],
          "errors": [
              {
                  "code": 12008,
                  "msg": "Error performing bulk get operation  - cause: {1 errors, starting with dial tcp 172.23.104.91:11210: connect: connection refused}",
                  "retry": true
              }
          ],
          "status": "errors",
          "metrics": {
              "elapsedTime": "30.443142402s",
              "executionTime": "30.442984089s",
              "resultCount": 0,
              "resultSize": 0,
              "serviceLoad": 6,
              "errorCount": 1
          }
      } 

        Attachments

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

          Activity

          Hide
          isha Isha Kandaswamy added a comment -

          Opened a bug for indexer - MB-48030

          Show
          isha Isha Kandaswamy added a comment - Opened a bug for indexer -  MB-48030
          Hide
          pierre.regazzoni Pierre Regazzoni added a comment -

          Still seeing issue for select (and insert) with 7.0.2-6535. 

          Show
          pierre.regazzoni Pierre Regazzoni added a comment - Still seeing issue for select (and insert) with 7.0.2-6535. 
          Hide
          isha Isha Kandaswamy added a comment -

          See the above comment. This only addresses the fix for 7.1. 

          In 7.1 we moved our code from go-couchbase to the internal primitives/ code and so my changes didn't cause a cyclic dependency with cbauth and go-couchbase. 

          With 7.0 we still use go-couchbase so the changes need to be different. So ive opened MB-48025 to track that. 

          Show
          isha Isha Kandaswamy added a comment - See the above comment. This only addresses the fix for 7.1.  In 7.1 we moved our code from go-couchbase to the internal primitives/ code and so my changes didn't cause a cyclic dependency with cbauth and go-couchbase.  With 7.0 we still use go-couchbase so the changes need to be different. So ive opened MB-48025 to track that. 
          Hide
          isha Isha Kandaswamy added a comment - - edited

          7.0.2 fix in - couchbase-server-7.0.2-6544

          couchbase-server-7.1.0-1170 (can you use this build for 7.1 to verify ? )

           

          Show
          isha Isha Kandaswamy added a comment - - edited 7.0.2 fix in - couchbase-server-7.0.2-6544 couchbase-server-7.1.0-1170 (can you use this build for 7.1 to verify ? )  
          Hide
          pierre.regazzoni Pierre Regazzoni added a comment -

          Verified on 7.1.0-1170

          Show
          pierre.regazzoni Pierre Regazzoni added a comment - Verified on 7.1.0-1170

            People

            Assignee:
            pierre.regazzoni Pierre Regazzoni
            Reporter:
            pierre.regazzoni Pierre Regazzoni
            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