You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cloud provider or hardware configuration:
VMWare / ESXi
OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
ubuntu 22.04
Version of Ansible (ansible --version):
2.12.3
Version of Python (python --version):
3.10.6
Kubespray version (commit) (git rev-parse --short HEAD):
v2.21.0
Network plugin used:
cilium
Full inventory with variables (ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"):
Command used to invoke ansible:
Output of ansible run:
TASK [container-engine/cri-o : Remove legacy CRI-O kubic apt repo key] *********
Tuesday 07 February 2023 17:19:02 +0000 (0:00:01.765) 0:26:47.277 ******
skipping: [******]
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
fatal: [******]: FAILED! => {"changed": false, "msg": "Failed to download key at https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key: Request failed: <urlopen error [Errno 101] Network is unreachable>"}
Anything else do we need to know:
we use an http proxy in our environments,
so using environment: "{{ proxy_env }}" in the apt_key cleanups task (roles/container-engine/cri-o/tasks/cleanup.yaml) solve my issue:
apt_key:
url: "https://{{ crio_download_base }}/{{ crio_kubic_debian_repo_name }}/Release.key"
state: absent
environment: "{{ proxy_env }}"
when: crio_kubic_debian_repo_name is defined
a PR will follow
The text was updated successfully, but these errors were encountered:
Environment:
Cloud provider or hardware configuration:
VMWare / ESXi
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):ubuntu 22.04
Version of Ansible (
ansible --version
):2.12.3
Version of Python (
python --version
):3.10.6
Kubespray version (commit) (
git rev-parse --short HEAD
):v2.21.0
Network plugin used:
cilium
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Command used to invoke ansible:
Output of ansible run:
Anything else do we need to know:
we use an http proxy in our environments,
so using
environment: "{{ proxy_env }}"
in the apt_key cleanups task (roles/container-engine/cri-o/tasks/cleanup.yaml) solve my issue:a PR will follow
The text was updated successfully, but these errors were encountered: