Question: ControlPlane BootstrapFailed #11427
Labels
needs-kind
Indicates a PR lacks a `kind/foo` label and requires one.
needs-priority
Indicates an issue lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What steps did you take and what happened?
Using the combination of cluster - API and kubeivrt, reference documentation at https://cluster-api.sigs.k8s.io/user/quick-start.
If the kubectl get kubeadmcontrolplane command is executed, the controlplane is abnormal.
See MachinesReady bootstrapfail@machine /testk8s-control-plane-nwn9s.
How should I troubleshoot and solve this problem next?
Refer to https://cluster-api.sigs.k8s.io/user/troubleshooting to check the/var/log/cloud - init - the output. The log. Found the following error,
2024-11-15 08:04:43,049 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2024-11-15 08:04:43, 052-util. py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
Question 1: How do I install the Containerd and kubeadm commands on the VM? Is it configured through cloud-init?
Question 2, kubeadm init need '/ run/kubeadm/kubeadm yaml' file, how to provide the virtual machine?
How should I handle this?
What did you expect to happen?
Create a k8s on k8s cluster using the cluster api + kubevirt
Cluster API version
Cluster API version: v1.8.5
Kubernetes version
Kubernetes version:v1.28.3
kubevirt version: v1.1.0
Anything else you would like to add?
No response
Label(s) to be applied
No response
The text was updated successfully, but these errors were encountered: