apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.2k stars 184 forks source link

[BUG] restore MongoDB, component got stuck #8528

Closed shanshanying closed 8 hours ago

shanshanying commented 16 hours ago

img_v3_02h0_58819387-ba75-4b42-bcf5-36e40dd8801g img_v3_02h0_1e1a2aba-1d63-4a6f-b6ac-7119a50fdc3g

shanshanying commented 15 hours ago
{"level":"error","ts":"2024-11-26T11:46:58+08:00","msg":"Reconciler error","controller":"configuration","controllerGroup":"apps.kubeblocks.io","controllerKind":"Configuration","Configuration":{"name":"mongo-cluster-restore-mongodb","namespace":"default"},"namespace":"default","name":"mongo-cluster-restore-mongodb","reconcileID":"6e21738d-65eb-41e1-9947-58852e4faa94","error":"has no Credential object root found when resolving vars","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/Users/shanshan/Documents/projects/goes/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/Users/shanshan/Documents/projects/goes/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/Users/shanshan/Documents/projects/goes/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.2/pkg/internal/controller/controller.go:227"}
sophon-zt commented 15 hours ago

img_v3_02h0_d0e2bc5d-5f1d-4cfc-91ac-4be0e27b240g img_v3_02h0_5d023c3d-fa2a-4668-8b93-31d28017e66g

Is this recovery cluster restored from an old version of kb? The root variable refers to an deprecated secret.

shanshanying commented 10 hours ago

NO. this is a mongodb cluster created using addons on main branch.