You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea (yet) what could be causing this. An extremely wild hunch is that maybe #781 (comment) is a fix for this, but I have currently no way to check that.
Every now and then the logs also contain this:
{
"level": "error",
"ts": "2025-02-20T19:41:43Z",
"msg": "failed to update status",
"controller": "mysqlcluster",
"controllerGroup": "moco.cybozu.com",
"controllerKind": "MySQLCluster",
"MySQLCluster": {
"name": "myapp",
"namespace": "myapp"
},
"namespace": "myapp",
"name": "myapp",
"reconcileID": "e6f09dd0-b294-4a46-b12a-81879497244a",
"error": "Operation cannot be fulfilled on mysqlclusters.moco.cybozu.com \"myapp\": the object has been modified; please apply your changes to the latest version and try again",
"stacktrace": "github.com/cybozu-go/moco/controllers.(*MySQLClusterReconciler).reconcileV1.func1\n\t/work/controllers/mysqlcluster_controller.go:260\ngithub.heygears.com/cybozu-go/moco/controllers.(*MySQLClusterReconciler).reconcileV1\n\t/work/controllers/mysqlcluster_controller.go:328\ngithub.heygears.com/cybozu-go/moco/controllers.(*MySQLClusterReconciler).Reconcile\n\t/work/controllers/mysqlcluster_controller.go:208\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224"
}
{
"level": "error",
"ts": "2025-02-20T19:41:43Z",
"msg": "Reconciler error",
"controller": "mysqlcluster",
"controllerGroup": "moco.cybozu.com",
"controllerKind": "MySQLCluster",
"MySQLCluster": {
"name": "myapp",
"namespace": "myapp"
},
"namespace": "myapp",
"name": "myapp",
"reconcileID": "e6f09dd0-b294-4a46-b12a-81879497244a",
"error": "Operation cannot be fulfilled on mysqlclusters.moco.cybozu.com \"myapp\": the object has been modified; please apply your changes to the latest version and try again",
"stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:316\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224"
}
but then again, I'm pretty sure I didn't change the object (fully synced with ArgoCD).
Environments
Version: 0.25.1
To Reproduce
Steps to reproduce the behavior:
Create a new cluster
Wait for the cluster to finish setting up
Look into moco-controller's logs and see the above logs repeating
Expected behavior
After initial reconciliation, it should happen again only when something has changed.
The text was updated successfully, but these errors were encountered:
Describe the bug
After getting a cluster running at long last (OpenShift woes), it seems to be stuck in some kind of endless reconciliation loop:
I have no idea (yet) what could be causing this. An extremely wild hunch is that maybe #781 (comment) is a fix for this, but I have currently no way to check that.
Every now and then the logs also contain this:
but then again, I'm pretty sure I didn't change the object (fully synced with ArgoCD).
Environments
To Reproduce
Steps to reproduce the behavior:
moco-controller
's logs and see the above logs repeatingExpected behavior
After initial reconciliation, it should happen again only when something has changed.
The text was updated successfully, but these errors were encountered: