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

Synchronisation problem with Operator and server 7.6.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.1
    • None
    • None
    • 4 - The Rising Storm
    • 1

    Description

      The synchronisation tests are failing when run with server 7.6.0, failing to synchronise:

       

      For example:

      In the test: TestDataSynchronizationBasic

       

      Error Messagetimeout: condition status mismatch, expected True, got FalseStacktracegoroutine 2486 [running]:
      runtime/debug.Stack()
      	runtime/debug/stack.go:24 +0x72
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.Die(0xc000ae5520, {0x6b03e20, 0xc005cee200})
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/util.go:1433 +0x36
      github.com/couchbase/couchbase-operator/test/e2e/e2eutil.MustWaitForClusterCondition(0xc004134540?, 0x54aed80?, {0x5486a59, 0xc}, {0x547851c, 0x4}, 0x9?, 0x5482da1?)
      	github.com/couchbase/couchbase-operator/test/e2e/e2eutil/wait_util.go:658 +0xa8
      github.com/couchbase/couchbase-operator/test/e2e.TestDataSynchronizationBasic(0xc000ae5520)
      	github.com/couchbase/couchbase-operator/test/e2e/synchronization_test.go:54 +0x1168
      testing.tRunner(0xc000ae5520, 0x55f64c8)
      	testing/testing.go:1576 +0x217
      created by testing.(*T).Run
      	testing/testing.go:1629 +0x806 

      From the logs:

       

      {"level":"error","ts":"2024-02-15T03:22:41Z","logger":"cluster","msg":"Reconciliation failed","cluster":"test-ljdxz/test-couchbase-jxhkl","error":"CouchbaseScope.couchbase.com \"scope-06fc91d2518c1c92b81f6e101f6b590ab9e3a8fdc02221f57143120f716de693\" is invalid: spec.name: Invalid value: \"_system\": spec.name in body should match '^[a-zA-Z0-9\\-][a-zA-Z0-9\\-%_]{0,250}$'","stacktrace":"github.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).runReconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:498\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).Update\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:535\ngithub.com/couchbase/couchbase-operator/pkg/controller.(*CouchbaseClusterReconciler).Reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/controller/controller.go:90\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:119\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.16.3/pkg/internal/controller/controller.go:227"} 

      I've attached the logs of a test

      Attachments

        Issue Links

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

          Activity

            People

              usamah.jassat Usamah Jassat
              gilad.kalchheim Gilad Kalchheim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty