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
follow the getting_started guide to create workload cluster on VMs
the k8s components installation failed due to some reason
now the reset host method kicks in attempting to execute kubeadm reset --force
since the k8s components were not installed, kubeadm is not installed, therefore kubeadm not found error
What did you expect to happen:
host should be reset and back to Waiting for MachineRef state
Anything else you would like to add:
In the hostCleanup function, resetNode should be called only if K8sComponentsInstallationSucceeded Condition is true --> this means kubeadm will be present on the machine.
What steps did you take and what happened:
kubeadm reset --force
kubeadm
is not installed, thereforekubeadm not found
errorWhat did you expect to happen:
Waiting for MachineRef state
Anything else you would like to add:
In the
hostCleanup
function,resetNode
should be called only ifK8sComponentsInstallationSucceeded Condition is true
--> this means kubeadm will be present on the machine.cluster-api-provider-bringyourownhost/agent/reconciler/host_reconciler.go
Lines 189 to 195 in 970c5de
The text was updated successfully, but these errors were encountered: