Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flaky test: MySQL controller With available MySQL [It] Should clean up MySQLClient #196

Closed
nakamasato opened this issue Apr 5, 2023 · 1 comment
Labels

Comments

@nakamasato
Copy link
Owner

nakamasato commented Apr 5, 2023

  2023-04-06T08:35:46+09:00     ERROR   MySQLReconciler failed to update status {"controller": "mysql", "controllerGroup": "mysql.nakamasato.com", "controllerKind": "MySQL", "MySQL": {"name":"test-mysql","namespace":"default"}, "namespace": "default", "name": "test-mysql", "reconcileID": "be4b6882-e08a-4227-922a-957eb7a01c83", "error": "Operation cannot be fulfilled on mysqls.mysql.nakamasato.com \"test-mysql\": StorageError: invalid object, Code: 4, Key: /registry/mysql.nakamasato.com/mysqls/default/test-mysql, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 7493ef12-adfb-41df-ba9d-8b98bf7f8a11, UID in object meta: "}
  github.com/nakamasato/mysql-operator/controllers.(*MySQLReconciler).Reconcile
        /Users/m.naka/repos/nakamasato/mysql-operator/controllers/mysql_controller.go:93
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile
        /Users/m.naka/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:122
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
        /Users/m.naka/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:323
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /Users/m.naka/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:274
  sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /Users/m.naka/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:235

https://github.com/nakamasato/mysql-operator/actions/runs/4623531314/jobs/8177439330

@nakamasato nakamasato added the test label Apr 5, 2023
@nakamasato
Copy link
Owner Author

I haven't encountered this issue recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant