cloud-bulldozer / benchmark-operator

The Chuck Norris of cloud benchmarks
Apache License 2.0
282 stars 127 forks source link

benchmark-controller-manager: ImagePullBackOff #787

Closed ebattat closed 2 years ago

ebattat commented 2 years ago

$ make deploy

cd config/manager && /tmp/benchmark-operator/bin/kustomize edit set image controller=quay.io/cloud-bulldozer/benchmark-operator:v1.0.0-1-g12701a6
/tmp/benchmark-operator/bin/kustomize build config/default | kubectl apply -f -
namespace/benchmark-operator created
customresourcedefinition.apiextensions.k8s.io/benchmarks.ripsaw.cloudbulldozer.io created
serviceaccount/benchmark-operator created
clusterrolebinding.rbac.authorization.k8s.io/benchmark-operator-binding created
configmap/benchmark-manager-config created
deployment.apps/benchmark-controller-manager created

$ oc get pod -n benchmark-operator -w

NAME                                            READY   STATUS             RESTARTS   AGE
benchmark-controller-manager-5884f8545c-lttqr   1/2     ImagePullBackOff   0          13s
benchmark-controller-manager-5884f8545c-lttqr   1/2     ErrImagePull       0          3m1s

$ oc describe pod benchmark-controller-manager-5884f8545c-lttqr -n benchmark-operator

Events:
  Type     Reason          Age                    From               Message
  ----     ------          ----                   ----               -------
  Normal   Scheduled       4m12s                  default-scheduler  Successfully assigned benchmark-operator/benchmark-controller-manager-5884f8545c-lttqr to master-2 by master-0
  Normal   AddedInterface  4m10s                  multus             Add eth0 [10.130.1.22/23] from ovn-kubernetes
  Normal   Pulling         4m10s                  kubelet            Pulling image "quay.io/cloud-bulldozer/redis:latest"
  Normal   Started         4m9s                   kubelet            Started container redis-master
  Normal   Pulled          4m9s                   kubelet            Successfully pulled image "quay.io/cloud-bulldozer/redis:latest" in 694.943806ms
  Normal   Created         4m9s                   kubelet            Created container redis-master
  Warning  Failed          3m30s (x3 over 4m10s)  kubelet            Error: ErrImagePull
  Normal   BackOff         3m5s (x5 over 4m8s)    kubelet            Back-off pulling image "quay.io/cloud-bulldozer/benchmark-operator:v1.0.0-1-g12701a6"
  Warning  Failed          3m5s (x5 over 4m8s)    kubelet            Error: ImagePullBackOff
  Normal   Pulling         2m50s (x4 over 4m10s)  kubelet            Pulling image "quay.io/cloud-bulldozer/benchmark-operator:v1.0.0-1-g12701a6"
  Warning  Failed          2m49s (x4 over 4m10s)  kubelet            Failed to pull image "quay.io/cloud-bulldozer/benchmark-operator:v1.0.0-1-g12701a6": rpc error: code = Unknown desc = reading manifest v1.0.0-1-g12701a6 in quay.io/cloud-bulldozer/benchmark-operator: manifest unknown: manifest unknown
rsevilla87 commented 2 years ago

There was a conflict with the v1.0.0 tag, the makefile will need some changes. Please try now, (I removed that tag for now).

ebattat commented 2 years ago

Thx @rsevilla87, working now.