kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
15.82k stars 6.41k forks source link

Docker Pull Error #10916

Closed Praveenmail2him closed 6 months ago

Praveenmail2him commented 6 months ago

What happened?

Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading:

What did you expect to happen?

Installation should be successful.

How can we reproduce it (as minimally and precisely as possible)?

Please run on Ubuntu 22.04

OS

Linux 5.15.0-94-generic x86_64 PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy

Version of Ansible

ansible [core 2.15.9] config file = /root/kubespray/ansible.cfg configured module search path = ['/root/kubespray/library'] ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True

Version of Python

Python 3.10.12

Version of Kubespray (commit)

git main branch

Network plugin used

calico

Full inventory with variables

node1, node2, node3, node4

Command used to invoke ansible

ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root cluster.yml

Output of ansible run

uesday 13 February 2024 00:58:34 -0800 (0:00:36.067) 0:07:00.971 **

download : Download_container | Download image if required ------------------------------------------------------- 36.07s container-engine/docker : Docker | Remove docker package --------------------------------------------------------- 27.74s container-engine/validate-container-engine : Populate service facts ----------------------------------------------- 7.37s container-engine/runc : Download_file | Download item ------------------------------------------------------------- 6.90s container-engine/crictl : Download_file | Download item ----------------------------------------------------------- 6.54s container-engine/containerd : Download_file | Download item ------------------------------------------------------- 6.25s download : Download_file | Download item -------------------------------------------------------------------------- 6.15s container-engine/nerdctl : Download_file | Download item ---------------------------------------------------------- 6.14s container-engine/crictl : Extract_file | Unpacking archive -------------------------------------------------------- 5.98s container-engine/nerdctl : Extract_file | Unpacking archive ------------------------------------------------------- 5.37s container-engine/runc : Runc | Uninstall runc package managed by package manager ---------------------------------- 5.08s container-engine/containerd : Containerd | Unpack containerd archive ---------------------------------------------- 4.38s container-engine/docker : Docker | Stop docker service ------------------------------------------------------------ 3.10s container-engine/docker : Docker | Get package facts -------------------------------------------------------------- 3.03s download : Download | Download files / images --------------------------------------------------------------------- 3.01s kubernetes/preinstall : Ensure kube-bench parameters are set ------------------------------------------------------ 2.72s container-engine/docker : Docker | Remove docker configuration files ---------------------------------------------- 2.65s container-engine/runc : Download_file | Create dest directory on node --------------------------------------------- 2.62s download : Extract_file | Unpacking archive ----------------------------------------------------------------------- 2.61s container-engine/nerdctl : Download_file | Create dest directory on node ------------------------------------------ 2.4

Anything else we need to know

Kindly provide a resolution for this issue.

VannTen commented 6 months ago

See docs/download.md for way to reduce your pull from upstream server. With 4 nodes you probably have something else going on though. Check if you have a shared IP pulling many images or something like that. Anyway, not a kubespray bug /close

k8s-ci-robot commented 6 months ago

@VannTen: Closing this issue.

In response to [this](https://github.com/kubernetes-sigs/kubespray/issues/10916#issuecomment-1941047111): >See docs/download.md for way to reduce your pull from upstream server. >With 4 nodes you probably have something else going on though. Check if you have a shared IP pulling many images or something like that. >Anyway, not a kubespray bug >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.