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

Error initializing cleanup job #577

Closed
olakunleoladimeji opened this issue Jul 26, 2020 · 0 comments
Closed

Error initializing cleanup job #577

olakunleoladimeji opened this issue Jul 26, 2020 · 0 comments
Labels

Comments

@olakunleoladimeji
Copy link

olakunleoladimeji commented Jul 26, 2020

The error is quite descriptive, the labels in the cleanup job could go past 63 characters in some cases, requiring manual cleanup.

Kubernetes Version: 1.15.1

Operator Version: 0.4.0

OS: Ubuntu Linux

{"severity":"ERROR","timestamp":"2020-07-26T19:11:59.063998143Z","logger":"kubebuilder.controller","message":"Reconciler error","controller":"mysqlbackup-controller","request":"viadesk/viadesk-mysql-cluster-db-auto-2020-07-20t00-00-00","error":"Job.batch \"viadesk-mysql-cluster-db-auto-2020-07-20t00-00-00-backup-cleanup\" is invalid: spec.template.labels: Invalid value: \"viadesk-mysql-cluster-db-auto-2020-07-20t00-00-00-backup-cleanup\": must be no more than 63 characters","stacktrace":"github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/presslabs/mysql-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/presslabs/mysql-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/presslabs/mysql-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}

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

2 participants