-
Notifications
You must be signed in to change notification settings - Fork 79
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
validation phase #572
Comments
It is renewing the "lease" on a timer so when nothing happens on the remote, all you see is it refreshing the locks in the background. More timeouts is for sure something k0sctl needs. |
I looked into this this morning, so basically the k0scontroller log had errors about kine (expected since I botched the password) and kine constantly restarted but never finished. Never ending loop kind of. Reset also didn't work on the cluster anymore, because of the locks. So I wrote some ansible to clean-up all the hosts. This morning I re-ran apply on my new cluster after cleaning it up, it did not go through for some reason, but it exited:
(I'll look into what the problem exactly was later.) When I try to re-run apply:
Seems the clean-up forgets files? |
Fixed another issue (forgot to assign a FIP to my load balancer), now it goes further. I noticed this:
I think that should also run for when other controllers join. Would make it a bit more user friendly to figure out what didn't work when the controller cannot join. :) |
Kind of yes. K0sctl runs Maybe any errors that come after |
Was wondering if the validation phase could take things like kine into account? As in test connecting to the database. Not sure if there's a utility to leverage so it wouldn't lead to writing code for all kinds of adapters?
Some context:
I copied the wrong password into the yaml configuration and apply just sat there. When I cancelled, I am stuck in a loop where k0sctl is trying to acquire an exclusive lock.
The text was updated successfully, but these errors were encountered: