Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

weave-net 0/2 Init:ImagePullBackOff, Kubernetes 1.23.7 on CloudStack 4.18.1 #4000

Open
raihanjp opened this issue Dec 7, 2023 · 0 comments

Comments

@raihanjp
Copy link

raihanjp commented Dec 7, 2023

What you expected to happen?

weave-net pod Running State

What happened?

weave-net pod Init:ImagePullBackOff

How to reproduce it?

-Creating Kubernetes Cluster on Apache Cloudstack 4.18.1
-Generate Kubernetes ISO (1.27.2, kubernetes version, 1.3.0, CNI, 1.27.0, cri-tools version, 1.11, weave addon for kubernetes, 2.7.0, kubernetes dashboard version)

Anything else we need to know?

Versions:

root@cloudstack:~# kubectl version --short
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.27.2

Logs:

root@cloudstack:~# kubectl get pod -A
NAMESPACE              NAME                                                      READY   STATUS                  RESTARTS        AGE
kube-system            coredns-5d78c9869d-4l5r7                                  0/1     Pending                 0               8m42s
kube-system            coredns-5d78c9869d-t57tr                                  0/1     Pending                 0               8m42s
kube-system            etcd-k8s-cluster-control-18c42ebaebc                      1/1     Running                 1 (5m27s ago)   8m48s
kube-system            kube-apiserver-k8s-cluster-control-18c42ebaebc            1/1     Running                 1 (5m27s ago)   8m48s
kube-system            kube-controller-manager-k8s-cluster-control-18c42ebaebc   1/1     Running                 1 (5m27s ago)   8m48s
kube-system            kube-proxy-79xkp                                          1/1     Running                 1 (5m27s ago)   8m42s
kube-system            kube-proxy-gtrnr                                          1/1     Running                 1 (4m57s ago)   8m38s
kube-system            kube-proxy-wqd98                                          1/1     Running                 1 (5m12s ago)   8m35s
kube-system            kube-scheduler-k8s-cluster-control-18c42ebaebc            1/1     Running                 1 (5m27s ago)   8m48s
kube-system            weave-net-j7k4n                                           0/2     Init:ImagePullBackOff   0               8m35s
kube-system            weave-net-jdqbz                                           0/2     Init:ImagePullBackOff   0               8m38s
kube-system            weave-net-k25tl                                           0/2     Init:ImagePullBackOff   0               8m42s
kubernetes-dashboard   dashboard-metrics-scraper-5cb4f4bb9c-f7l69                0/1     Pending                 0               8m42s
kubernetes-dashboard   kubernetes-dashboard-6967859bff-z95ch                     0/1     Pending                 0               8m42s

root@cloudstack:~# kubectl logs -n kube-system weave-net-j7k4n weave
Error from server (BadRequest): container "weave" in pod "weave-net-j7k4n" is waiting to start: PodInitializing

Events:
  Type     Reason          Age                    From               Message
  ----     ------          ----                   ----               -------
  Normal   Scheduled       5m17s                  default-scheduler  Successfully assigned kube-system/weave-net-j7k4n to k8s-cluster-node-18c42ebee67
  Warning  Failed          4m55s                  kubelet            Failed to pull image "weaveworks/weave-kube:latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/weaveworks/weave-kube:latest": failed to resolve reference "docker.io/weaveworks/weave-kube:latest": failed to do request: Head "https://registry-1.docker.io/v2/weaveworks/weave-kube/manifests/latest": dial tcp: lookup registry-1.docker.io on 8.8.8.8:53: read udp 10.1.1.233:45333->8.8.8.8:53: i/o timeout
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant