-
-
Notifications
You must be signed in to change notification settings - Fork 1k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Download k3s binary x64 Fails #526
Comments
Yes I'm experiencing this too. |
I haven't tested with Ubuntu 24.04 LTS yet. It could be related. At some point we will switch the CI to test on 24.04 but until then I don't have a great way to test. I am also assuming @UntouchedWagons is also using 24.04? |
Yeah I'm using 24.04 |
For what it's worth, it worked for me on Ubuntu 24.04 on cloud-init images. I'm not sure from looking at the configs above what would be different. I've installed two separate k3s clusters without issues. |
This was solved for me by running: update to ansible >=8.7.0 The underlying issue appears to be related to the version of |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I have checked through installation notes, video and completed setup steps two times over and I keep getting stuck upon running the site.yml playbook - It fails at TASK - Download k3s binary x64.
Here is the error from Ansible:
TASK [download : Download k3s binary x64] *********************************************************************************************************************
fatal: [172.16.2.108]: FAILED! => {"changed": false, "dest": "/usr/local/bin/k3s", "elapsed": 0, "msg": "An unknown error occurred: 'CustomHTTPSConnection' object has no attribute 'cert_file'", "url": "https://github.com/k3s-io/k3s/releases/download/v1.30.0+k3s1/sha256sum-amd64.txt"}
Ansible Playbook ran with -vvv
Investigations:
From initial investigations, it seems to be an issue with the roles/download/tasks/main.yml - get_url module.
The hosts I'm spinning up are Ubuntu Cloud Images 24.04 - Unaltered (Noble Numbat) - As part of troubleshooting the reset playbook runs without fault.
Example of the play from the download task:
The verbose output provides a deprecation warning. In troubleshooting I've tried adding validate_certs: false to the playbook for get_url - without success.
Current Behavior
Unable to setup K3S
Steps to Reproduce
Complete a fresh setup of k3s-ansible and attempt to install on 5 VMs.
Context (variables)
Ansible Version:
ansible [core 2.13.2]
config file = /home/nicholaso/Documents/Github/k3s-ansible/ansible.cfg
configured module search path = ['/home/nicholaso/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/nicholaso/.local/lib/python3.10/site-packages/ansible
ansible collection location = /home/nicholaso/.ansible/collections:/usr/share/ansible/collections
executable location = /home/nicholaso/.local/bin/ansible
python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
jinja version = 3.1.2
libyaml = True
Operating system:
Ubuntu 24.04LTS
Hardware:
Proxmox VMs
Have installed requirements and all modules etc are up-to-date.
Variables Used
all.yml
Hosts
host.ini
Possible Solution
The text was updated successfully, but these errors were encountered: