Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rancher/flannel-cni-plugin:v1.2" repository does not exist #1482

Closed
cjhouser opened this issue Oct 15, 2021 · 10 comments
Closed

"rancher/flannel-cni-plugin:v1.2" repository does not exist #1482

cjhouser opened this issue Oct 15, 2021 · 10 comments
Assignees

Comments

@cjhouser
Copy link

Expected Behavior

I attempted to deploy Flannel into a Kubernetes cluster by applying the YAML from the README. I assume that it's supposed to work as is, but that may be incorrect.

Current Behavior

Applying the YAML causes ErrImagePull on the kube-flannel-ds pod. I checked Dockerhub for the image in question (rancher/flannel-cni-plugin), but it hasn't been pushed.

$ kubectl describe pod -n kube-system kube-flannel-ds-h4mtc
Name:                 kube-flannel-ds-h4mtc
Namespace:            kube-system
Status:               Pending
Init Containers:
  install-cni-plugin:
    Container ID:
    Image:         rancher/flannel-cni-plugin:v1.2
    Image ID:
    State:          Waiting
      Reason:       ImagePullBackOff
    Ready:          False
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  2m27s                default-scheduler  Successfully assigned kube-system/kube-flannel-ds-h4mtc to control
  Normal   Pulling    53s (x4 over 2m24s)  kubelet            Pulling image "rancher/flannel-cni-plugin:v1.2"
  Warning  Failed     52s (x4 over 2m23s)  kubelet            Failed to pull image "rancher/flannel-cni-plugin:v1.2": rpc error: code = Unknown desc = Error response from daemon: pull access denied for rancher/flannel-cni-plugin, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  Warning  Failed     52s (x4 over 2m23s)  kubelet            Error: ErrImagePull
  Warning  Failed     25s (x6 over 2m22s)  kubelet            Error: ImagePullBackOff
  Normal   BackOff    11s (x7 over 2m22s)  kubelet            Back-off pulling image "rancher/flannel-cni-plugin:v1.2"

Possible Solution

Push flannel-cni-plugin to Dockerhub.
If rc1 in the Flannel version means that it's still in testing or something similar: the YAML on the main README.md should reference a release version, like v0.14.0

Context

I'm setting up a Kubernetes cluster with kubeadm on a a few Raspberry Pi's and tried to use Flannel as a Kubernetes networking solution. Flannel was mentioned here. I will try Flannel v0.14.0.

Your Environment

  • Flannel version: v0.15.0-rc1
  • Kubernetes version (if used):
kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:38:50Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/arm64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:32:41Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/arm64"}
  • Operating System and version:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
@ormissia
Copy link

I have the same confusion.
Where is rancher/flannel-cni-plugin:v1.2 ?
🤔

@ormissia
Copy link

ormissia commented Oct 15, 2021

I have the same confusion. Where is rancher/flannel-cni-plugin:v1.2 ? 🤔

I currently choose v0.14.1 kube-flannel.yml

@lwr20
Copy link

lwr20 commented Oct 15, 2021

Looks like this was caused by this commit: 1a62caf

Paging @rajatchopra

@Wunderharke
Copy link

Are those official images: https://hub.docker.com/u/flannelcni? Might have been moved.

@N00ree
Copy link

N00ree commented Oct 15, 2021

I also have some weird errors pulling the image and realized that there is a typo in the version.

grafik

The dot is missing in there.

Can this be the reason?

Temporary Workaround:
I went back and used the kube-flannel.yml file from v0.14.0.

EDIT: It looks like someone fixed this issue 38e7eff

@Wunderharke
Copy link

38e7eff Some active contributor should verify that those are legitimate images first.

tormath1 added a commit to flatcar/mantle that referenced this issue Oct 15, 2021
it's also a good practice to not rely on the default master branch for
the tests.

so we don't have the pulling issue from: flannel-io/flannel#1482

0.14.0 does not hold the changes related to flannel CNI plugin moved to
its own repository in the latest release of CNI plugins.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@Oats87 Oats87 self-assigned this Oct 15, 2021
@Oats87
Copy link
Member

Oats87 commented Oct 15, 2021

The images from the Docker Hub user flannelcni are official images. The reason we are attempting to move them under the rancher organization is because the flannelcni images will be rate limited as per Docker Hub policy, and the rancher organization is exempt from these rules.

For now, you can fix the manifest by reverting to the flannelcni images with the understanding that you may be rate limited by them.

@Oats87
Copy link
Member

Oats87 commented Oct 15, 2021

I just submitted an application to Docker Hub to see if they will simply remove the rate limiting on our flannelcni account on Docker Hub.

@luthermonson
Copy link
Contributor

#1484

@luthermonson
Copy link
Contributor

luthermonson commented Oct 15, 2021

the mirrors are up now finally do to some paperwork... we can merge this @Oats87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants