oracle / mysql-operator

Create, operate and scale self-healing MySQL clusters in Kubernetes
870 stars 235 forks source link

mysql-operator backup issue E0821 06:05:57. 1 operator_controller.go:212] Error in syncHandler, re-adding "default/mysql-backup" to queue: no primaries found #210

Open JJSWAIN2018 opened 6 years ago

JJSWAIN2018 commented 6 years ago

Is this a BUG REPORT or FEATURE REQUEST?

Choose one: BUG REPORT or FEATURE REQUEST

Versions

MySQL Operator Version: version: 0.2.1 Environment:

What happened?

When i create backup file , in the mysql-operator log , i m getting the above error.

What you expected to happen?

backup should be save in S3 bucket

apiVersion: mysql.oracle.com/v1alpha1 kind: Backup metadata: name: mysql-backup spec: executor: mysqldump: databases:

when create by kubectl create -f backup.yml , i got above error in mysql-operator logs

How to reproduce it (as minimally and precisely as possible)?

Anything else we need to know?

Thanks ..

Simon-Li commented 6 years ago

@JJSWAIN2018 you may post more info from the output of kubectl -n mysql-operator describe pod mysql-0 and mysql-1 etc.