Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.
This repository was archived by the owner on May 28, 2021. It is now read-only.

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

Description

@JJSWAIN2018

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

Activity

changed the title [-]Hi , i am using mysql-operator , [/-] [+]mysql-operator backup issue E0821 06:05:57.727210 1 operator_controller.go:212] Error in syncHandler, re-adding "default/mysql-backup" to queue: no primaries found[/+] on Aug 21, 2018
changed the title [-]mysql-operator backup issue E0821 06:05:57.727210 1 operator_controller.go:212] Error in syncHandler, re-adding "default/mysql-backup" to queue: no primaries found[/-] [+]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[/+] on Aug 21, 2018
Simon-Li

Simon-Li commented on Sep 9, 2018

@Simon-Li

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @prydie@owainlewis@Simon-Li@JJSWAIN2018

        Issue actions

          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 · Issue #210 · oracle/mysql-operator