Skip to content
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

Question: ControlPlane BootstrapFailed #11427

Open
h-shihao opened this issue Nov 15, 2024 · 1 comment
Open

Question: ControlPlane BootstrapFailed #11427

h-shihao opened this issue Nov 15, 2024 · 1 comment
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.

Comments

@h-shihao
Copy link

h-shihao commented Nov 15, 2024

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?

image

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

image
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

@k8s-ci-robot k8s-ci-robot added needs-priority Indicates an issue lacks a `priority/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 15, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If CAPI contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants