flannel icon indicating copy to clipboard operation
flannel copied to clipboard

crictl is not able to pull flannel images

Open rishabhatdell opened this issue 1 year ago • 3 comments

crictl is not able to pull flannel-cni-plugin image sudo crictl pull docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1

Current Behavior

sudo crictl pull docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1
DEBU[0000] get image connection                         
DEBU[0000] PullImageRequest: &PullImageRequest{Image:&ImageSpec{Image:docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1,Annotations:map[string]string{},},Auth:nil,SandboxConfig:nil,} 
E0122 08:12:27.324173   13369 remote_image.go:171] "PullImage from image service failed" err="rpc error: code = InvalidArgument desc = failed to pull and unpack image \"docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1\": unable to fetch descriptor (sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855) which reports content size of zero: invalid argument" image="docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1"
FATA[0000] pulling image: rpc error: code = InvalidArgument desc = failed to pull and unpack image "docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1": unable to fetch descriptor (sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855) which reports content size of zero: invalid argument 

Possible Solution

unsure

Steps to Reproduce (for bugs)

  1. Pull flannel-cni-plugin:v1.4.0-flannel1 image using crictl
  2. sudo crictl pull docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1

Context

When using kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml, the pods enter the Init:ImagePullBackOff state. Upon investigation, we discovered that the flannel-cni-plugin:v1.4.0-flannel1 image is not being pulled. We attempted crictl pull docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1, resulting in the same error. Surprisingly, its working with docker docker pull docker.io/flannel/flannel-cni-plugin:v1.4.0-flannel1.

Your Environment

  • Flannel version: v0.24.2
  • Backend used (e.g. vxlan or udp):
  • Etcd version: 3.5.10
  • Kubernetes version (if used): 1.28
  • Operating System and version: Red Hat Enterprise Linux release 8.6 (Ootpa)
  • Link to your project (optional):

rishabhatdell avatar Jan 22 '24 16:01 rishabhatdell

Do you have the same issue also fro image with an older version like v1.2.0-flannel3?

rbrtbnfgl avatar Jan 26 '24 10:01 rbrtbnfgl

Do you have the same issue also fro image with an older version like v1.2.0-flannel3?

we are facing this issue after v0.24.1 update

rishabhatdell avatar Jan 29 '24 06:01 rishabhatdell

Now the image should be available. Are yo still facing the issue?

rbrtbnfgl avatar Jan 30 '24 16:01 rbrtbnfgl

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '24 22:07 stale[bot]