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
The problem is that the RKE2 script is never executed on the agent which has condition with the variable installed_rke2_version. While that variable is depends on condition "rke2-server.service" in ansible_facts.services.
I tried your changes as described but they didn't work for me (airgapped, 3 workers, HA mode). I still had to run the RKE2 agent script by hand (on the workers). The install scripts runs correctly and the binaries exist but the execution of the agent service didnt (or its creation)
Summary
In the troubleshooting section here: https://github.com/lablabs/ansible-role-rke2#troubleshooting, it mentions that it might be a network limitation.
The problem is that the RKE2 script is never executed on the agent which has condition with the variable
installed_rke2_version
. While that variable is depends on condition"rke2-server.service" in ansible_facts.services
.Below is the changes I made to fix the issue:
Before the
Run AirGap RKE2 script
task (ansible-role-rke2/tasks/rke2.yml
Line 91 in dc6d426
ansible-role-rke2/tasks/rke2.yml
Line 89 in dc6d426
Issue Type
Bug Report
Ansible Version
Steps to Reproduce
Expected Results
Worker nodes should be provisioned if the rke2.sh script have been executed on the following task
ansible-role-rke2/tasks/rke2.yml
Line 100 in dc6d426
Actual Results
It's just hanging until timeout.
The text was updated successfully, but these errors were encountered: