Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2547

[SGW] Error opening bucket default: failed to connect to any of the specified hosts.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • 2.2.2
    • 2.2.2
    • None
    • 1

    Description

      TestCase: TestSyncGatewayCreateRemote

      couchbase operator: registry.gitlab.com/cb-rhcc/operator:2.2.2-109

      couchbase server: registry.connect.redhat.com/couchbase/server:7.0.2-1

      couchbase sync gateway: registry.connect.redhat.com/couchbase/sync-gateway:2.8.2-1

      Platform: Openshift 4.7

      BackTrace

      06:58:54     util.go:1305: timeout: document count zero
      06:58:54     util.go:1306: goroutine 676 [running]:
      06:58:54         runtime/debug.Stack(0x1f24a29, 0xc0008d2120, 0xc0008d2120)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/go/src/runtime/debug/stack.go:24 +0xab
      06:58:54         github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc0003a0900, 0x3531da0, 0xc0008d2120)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/test/e2e/e2eutil/util.go:1301 +0x34
      06:58:54         github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustVerifyDocCountInBucketNonZero(0xc0003a0900, 0xc000d4c1c0, 0xc0003ac100, 0x2a57227, 0x7, 0x45d964b800)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/test/e2e/e2eutil/xdcr_util.go:199 +0xa9
      06:58:54         github.com/couchbase/couchbase-operator/test/e2e.testSyncGatewayCreate(0xc0003a0900, 0xc000d8a000, 0xc000d4c1c0, 0xc00045f440, 0x0, 0x0)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/test/e2e/sync_gateway_test.go:33 +0x99c
      06:58:54         github.com/couchbase/couchbase-operator/test/e2e.TestSyncGatewayCreateRemote(0xc0003a0900)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/test/e2e/sync_gateway_test.go:83 +0x125
      06:58:54         testing.tRunner(0xc0003a0900, 0x2b26408)
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/go/src/testing/testing.go:1193 +0x203
      06:58:54         created by testing.(*T).Run
      06:58:54         	/jenkins/workspace/k8s-cbop-oc-pipeline-2.2.x/go/src/testing/testing.go:1238 +0x5d8 

      sync-gateway.log

      2021-11-25T14:56:17.105Z ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d) EE ====
      2021-11-25T14:56:17.105Z [INF] Logging: Console to stderr
      2021-11-25T14:56:17.105Z [INF] Logging: Files disabled
      2021-11-25T14:56:17.105Z [ERR] No log_file_path property specified in config, and --defaultLogFilePath command line flag was not set. Log files required for product support are not being generated. -- base.(*LoggingConfig).Init.func1() at logging_config.go:64
      2021-11-25T14:56:17.105Z [INF] Logging: Console level: debug
      2021-11-25T14:56:17.105Z [INF] Logging: Console keys: [* HTTP]
      2021-11-25T14:56:17.105Z [INF] Logging: Redaction level: none
      2021-11-25T14:56:17.105Z [INF] requestedSoftFDLimit < currentSoftFdLimit (5000 < 1048576) no action needed
      2021-11-25T14:56:17.105Z [INF] Logging stats with frequency: 1m0s
      2021-11-25T14:56:17.105Z [INF] Opening db /db as bucket "default", pool "default", server <couchbase://test-couchbase-rrxqc-srv.test-gsq24?network=default>
      2021-11-25T14:56:17.105Z [INF] GoCBCustomSGTranscoder Opening Couchbase database default on <couchbase://test-couchbase-rrxqc-srv.test-gsq24?network=default> as user "Administrator"
      2021-11-25T14:56:19.113Z [INF] Auth: Attempting credential authentication against bucket default on couchbase://test-couchbase-rrxqc-srv.test-gsq24?network=default
      2021-11-25T14:56:25.129Z [INF] Error opening bucket default: failed to connect to any of the specified hosts
      2021-11-25T14:56:25.129Z [DBG] RetryLoop retrying Attempt to connect to bucket : default after 5 ms. 

      cbopinfo attached.

      All SGW test cases are failing with same error.

      Attachments

        Activity

          People

            simon.murray Simon Murray
            prateek.kumar Prateek Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty