Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
2 - 2024 Midnight Horizon
-
0
Description
From the logs:
{"level":"info","ts":"2024-01-18T19:13:15Z","logger":"cluster","msg":"Reconciliation failed","cluster":"test-ptg2g/test-couchbase-6dthn","error":"unexpected status code: request failed DELETE http://test-couchbase-6dthn-0000.test-couchbase-6dthn.test-ptg2g.svc:8091/pools/default/buckets/default/scopes/_system 400 Bad Request: {\"errors\":{\"_\":\"Deleting _system scope is not allowed\"}}","stack":"github.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.Client.doRequest\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/core.go:212\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Client).Delete\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/core.go:335\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Request).On.func1\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/api.go:222\ngithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil.(*Request).On\n\tgithub.com/couchbase/couchbase-operator/pkg/util/couchbaseutil/api.go:249\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcileScopes\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/collections.go:125\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcileScopesAndCollections\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/collections.go:39\ngithub.com/couchbase/couchbase-operator/pkg/cluster.reconcileFuncList.run\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:56\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).reconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/reconcile.go:224\ngithub.com/couchbase/couchbase-operator/pkg/cluster.(*Cluster).runReconcile\n\tgithub.com/couchbase/couchbase-operator/pkg/cluster/cluster.go:492\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"}
{"level":"debug","ts":"2024-01-18T19:13:25Z","logger":"api","msg":"http","cluster":"test-ptg2g/test-couchbase-6dthn","method":"GET","url":"http://test-couchbase-6dthn-0000.test-couchbase-6dthn.test-ptg2g.svc:8091/pools/default","status":"200 OK","time_ms":15.658615}
Example for a test:
TestScopeCreateExplicit
Attachments
For Gerrit Dashboard: K8S-3348 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
204130,3 | K8S-3348: Remove global cluster variable | 2.6.x | couchbase-operator | Status: MERGED | +2 | +1 |
204231,3 | K8S-3348: Add _system scope | 2.6.x | couchbase-operator | Status: MERGED | +2 | +1 |
204264,2 | K8S-3348: Remove global cluster variable | master | couchbase-operator | Status: ABANDONED | 0 | -1 |
204266,2 | K8S-3348: Add _system scope | master | couchbase-operator | Status: MERGED | +2 | +1 |
204475,3 | K8S-3348: Remove global cluster variable | master | couchbase-operator | Status: MERGED | +2 | +1 |