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

auto backup job completed,mysql operator container have error log #664

Closed
qianfen2021 opened this issue Aug 22, 2022 · 1 comment · Fixed by #665
Closed

auto backup job completed,mysql operator container have error log #664

qianfen2021 opened this issue Aug 22, 2022 · 1 comment · Fixed by #665
Assignees
Labels
bug Something isn't working
Milestone

Comments

@qianfen2021
Copy link

Describe the problem
auto backup job completed,mysql operator container have error log。the error log info as follow:

2022-08-22T14:29:00.000+0800 ERROR controller-runtime.manager.controller.mysqlcluster.controllers.backupCronJob failed getting backups {"reconciler group": "mysql.radondb.com", "reconciler kind": "MysqlCluster", "name": "sample", "namespace": "default", "selector": {"LabelSelector":[{},{}],"FieldSelector":{},"Namespace":"default","Limit":0,"Continue":"","Raw":null}, "error": "Index with name field:status.completed does not exist"}
github.com/radondb/radondb-mysql-kubernetes/backup.(*CronJob).Run
/workspace/backup/cronbackup.go:44
github.com/wgliang/cron.(*Cron).runWithRecovery

To Reproduce

1.create mysql cluster
2.auto nfs backup job,the parameter configuration:

nfsServerAddress: "10.96.99.232"
 backupSchedule: "0 10 * * * *"

Expected behavior

Environment:

  • RadonDB MySQL version:2.2.1
@qianfen2021 qianfen2021 added the bug Something isn't working label Aug 22, 2022
@qianfen2021 qianfen2021 added this to the v2.2.1 milestone Aug 22, 2022
@acekingke
Copy link
Contributor

Because the recurrent: "true" is missing

acekingke added a commit to acekingke/radondb-mysql-kubernetes that referenced this issue Aug 22, 2022
acekingke added a commit that referenced this issue Aug 22, 2022
controller: fix the bug missing label of recurrent #664
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants