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

Offline Deployment: whrn running ./manage-offline-files.sh with using Podman in a Proxy environment, a timeout will occur when starting the container. #11866

Open
DearJey opened this issue Jan 7, 2025 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@DearJey
Copy link

DearJey commented Jan 7, 2025

What happened?

I tried to create an nginx container (file server) with using manage-offline-files.sh, it was be timeout occurs when starting the container.

Trying to pull docker.io/library/nginx:alpine...
WARN[0065] Failed, retrying in 1s ... (1/3). Error: initializing source docker://nginx:alpine: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp 54.198.86.24:443: i/o timeout 
WARN[0126] Failed, retrying in 1s ... (2/3). Error: initializing source docker://nginx:alpine: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp 54.198.86.24:443: i/o timeout 
WARN[0187] Failed, retrying in 1s ... (3/3). Error: initializing source docker://nginx:alpine: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp 54.227.20.253:443: i/o timeout 
Error: initializing source docker://nginx:alpine: pinging container registry registry-1.docker.io: Get "https://registry-1.docker.io/v2/": dial tcp 54.236.113.205:443: i/o timeout

What did you expect to happen?

I expected the container is created and the script execution completes successfully without any timeouts.

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

[Node configuration]

  • Offline
controlplane1
worker1
  • Online(Preparation)
workstation(podman, docker-distribution)

[Version]

  • Kubespray Version: v2.25.0
  • Docker version: v26.1

OS

Linux 5.14.0-427.13.1.el9_4.x86_64 x86_64
NAME="Red Hat Enterprise Linux"
VERSION="9.4 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.4 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.4
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"

Version of Ansible

ansible [core 2.16.13]
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python3.11/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.11.7 (main, Jan 22 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/usr/bin/python3.11)
jinja version = 3.1.4
libyaml = True

Version of Python

Python 3.9.18

Version of Kubespray (commit)

v2.25.0

Network plugin used

calico

Full inventory with variables

None

Command used to invoke ansible

None

Output of ansible run

None

Anything else we need to know

No response

@DearJey DearJey added the kind/bug Categorizes issue or PR as related to a bug. label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant