-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
error execution phase preflight: couldn't validate the identity of the API Server: Get "https://192.168.91.240:8443..." #107
Comments
Update: |
Update:
After about 10 minutes of no output on stdout the play continued, completing a group of cni and storage tasks, then completing the play:
Here is cluster node status at this point:
I decide to run the all.yml play again. This time with no fatal errors. However, my node status shows only two masters (not three as I spec'd in the inventory):
|
More cluster state details re above. Note that one of my declared masters (strawberry) is not running etcd or kube-apiserver. hackberry (master):
blueberry (master):
strawberry (intended master):
blackberry (worker):
|
In case this helps ^^:
|
Ok, so this looks like testing leftovers snuck into the "defaults" - The second issue is an odd one - the API server just doesn't seem to respond properly when another control-plane node attempts to join. There's a check that's built into the playbook to ensure the API server is available prior to attempting to join, sometimes it catches the delay, sometimes it doesn't. If you execute the nuke playbook; |
Details
What steps did you take and what happened:
Trying out the updated Ansible installation playbook today on a freshly imaged 20.04 four node pi4B cluster. Hit this failure mode when running
env ANSIBLE_CONFIG=ansible/ansible.cfg ansible-playbook ansible/playbooks/all.yml:
What did you expect to happen:
All playbooks run to completion with a 4 node k8s cluster started up successfully.
Anything else you would like to add:
I searched for
192.168.91.240
in the local clone. Found it inside the the old variable section ofansible/group_vars/cluster.yml
...Additional Information:
The text was updated successfully, but these errors were encountered: