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

bug: Network is unreachable randomly in Download RKE2 installation script #245

Open
ktzsolt opened this issue Aug 29, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ktzsolt
Copy link

ktzsolt commented Aug 29, 2024

Summary

When I re-run the playbook I get the following error in "Download RKE2 installation script" task

FAILED! => {"changed": false, "dest": "/var/tmp/rke2.sh", "elapsed": 20, "gid": 0, "group": "root", "mode": "0700", "msg": "Request failed: <urlopen error [Errno 101] Network is unreachable>", "owner": "root", "size": 24971, "state": "file", "uid": 0, "url": "https://get.rke2.io/"}

If I rerun the network error happens on different host. A retry mechanism could handle this I think.

Issue Type

Bug Report

Ansible Version

ansible [core 2.16.10]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] (/usr/bin/python3)
  jinja version = 3.0.3
  libyaml = True

Steps to Reproduce

Expected Results

no network timeout or error when role downloads the install script from https://get.rke2.io/

Actual Results

FAILED! => {"changed": false, "dest": "/var/tmp/rke2.sh", "elapsed": 20, "gid": 0, "group": "root", "mode": "0700", "msg": "Request failed: <urlopen error [Errno 101] Network is unreachable>", "owner": "root", "size": 24971, "state": "file", "uid": 0, "url": "https://get.rke2.io/"}
@ktzsolt ktzsolt added the bug Something isn't working label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant