mysql-operator icon indicating copy to clipboard operation
mysql-operator copied to clipboard

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

Open JJSWAIN2018 opened this issue 7 years ago • 1 comments

Is this a BUG REPORT or FEATURE REQUEST?

Choose one: BUG REPORT or FEATURE REQUEST

Versions

MySQL Operator Version: version: 0.2.1 Environment:

  • Kubernetes version (use kubectl version): 1.11
  • Cloud provider or hardware configuration: google cloud
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Others:

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: - name: mysql storageProvider: s3: endpoint: storage.googleapis.com region: us-east1 bucket: test-bucket #forcePathStyle: true credentialsSecret: name: s3-credentials cluster: name: mysql-cluster

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 ..

JJSWAIN2018 avatar Aug 21 '18 06:08 JJSWAIN2018

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

Simon-Li avatar Sep 09 '18 00:09 Simon-Li