bitpoke / mysql-operator

Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
https://www.bitpoke.io/docs/mysql-operator/getting-started/
Apache License 2.0
993 stars 275 forks source link

bitpoke-mysql-operator pod not starting #911

Closed zozidalom closed 8 months ago

zozidalom commented 8 months ago

Hi, my mysql operator is not starting up.

image

Normal | BackOff (2) | 50 secs ago | Back-off pulling image "docker.io/bitpoke/mysql-operator:v0.6.3"
Warning | Failed (2) | 50 secs ago | Error: ImagePullBackOff
Warning | Failed (3) | 1 mins ago | Error: ErrImagePull
Warning | Failed (2) | 1 mins ago | Failed to pull image "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": failed to resolve reference "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": failed to do request: Head "https://registry-1.docker.io/v2/bitpoke/mysql-operator-orchestrator/manifests/v0.6.3": EOF
Warning | Failed (3) | 1.1 mins ago | Error: ErrImagePull
Normal | Pulling (3) | 1.1 mins ago | Pulling image "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3"
Warning | Failed | 1.1 mins ago | Failed to pull image "docker.io/bitpoke/mysql-operator:v0.6.3": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitpoke/mysql-operator:v0.6.3": failed to resolve reference "docker.io/bitpoke/mysql-operator:v0.6.3": failed to authorize: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Abitpoke%2Fmysql-operator%3Apull&service=registry.docker.io": EOF
Normal | Pulling (3) | 1.3 mins ago | Pulling image "docker.io/bitpoke/mysql-operator:v0.6.3"
Warning | Failed (2) | 1.8 mins ago | Failed to pull image "docker.io/bitpoke/mysql-operator:v0.6.3": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitpoke/mysql-operator:v0.6.3": failed to resolve reference "docker.io/bitpoke/mysql-operator:v0.6.3": failed to do request: Head "https://registry-1.docker.io/v2/bitpoke/mysql-operator/manifests/v0.6.3": EOF
Warning | Failed | 1.8 mins ago | Error: ImagePullBackOff
Warning | Failed | 1.9 mins ago | Failed to pull image "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": failed to resolve reference "docker.io/bitpoke/mysql-operator-orchestrator:v0.6.3": failed to authorize: failed to fetch anonymous token: Get "https://auth.docker.io/token?scope=repository%3Abitpoke%2Fmysql-operator-orchestrator%3Apull&service=registry.docker.io": EOF

helmfile.yaml:

releases:
  - name: bitpoke-mysql-operator
    namespace: $CI_ENVIRONMENT_NAME
    chart: bitpoke/mysql-operator
    version: 0.6.3
    values:
      - $BITPOKE_MYSQL_OPERATOR_VALUES
  - name: mysql-cluster
    namespace: $CI_ENVIRONMENT_NAME
    chart: ./mysql-cluster
    version: 1.0.0
    disableValidation: true
    needs:
      - bitpoke-mysql-operator
    values:
      - $MYSQL_CLUSTER_VALUES

Any ideas why this issue occurs?

zozidalom commented 8 months ago

Apparently the issue is that there is no docker image witht he tag 0.6.3 in the registry. But even if I remove version: 0.6.3 from the config I have the same issue.

zozidalom commented 8 months ago

Cause of my issue:

image