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

VMware Cloud Director Machines are not getting provisioned if a SSH key is provided #1886

Open
xmudrii opened this issue Dec 11, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. sig/infra Denotes a PR or issue as being assigned to SIG Infra.

Comments

@xmudrii
Copy link
Member

xmudrii commented Dec 11, 2024

If you create a VMware Cloud Director (VCD) based Machine with a SSH key, the Machine/VM never gets fully-provisioned. The VM is created, it has an IP address assigned, but it doesn't join the cluster. These are the findings after some initial debugging:

  • The SSH key is picked up and it's possible to access the Machine via SSH
  • There are some problems with cloud-init and the bootstrap service that we run as part of OSM (which can be seen from the logs)

Removing the SSH key from the Machine mitigates the issue. In this case, the VM gets fully provisioned and it joins the cluster.

Some additional breadcrumbs for debugging this:

  • We should check the OVF property vcloudapp.enable_ssh.VMware_vCloud_Director, if you have this enabled, whatever you add to the OS will be overwritten
  • This was tested on Ubuntu, we should also test Flatcar to check if it's affected
  • This is affecting both KKP and KubeOne, this issue might span across VCD, machine-controller and operating-system-manager
@ahmedwaleedmalik
Copy link
Member

ahmedwaleedmalik commented Dec 11, 2024

For whoever works on this, you'll be able to find more info regarding this topic in this internal thread(private).

@csengerszabo csengerszabo added kind/bug Categorizes issue or PR as related to a bug. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. customer-request sig/infra Denotes a PR or issue as being assigned to SIG Infra. and removed customer-request labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. sig/cluster-management Denotes a PR or issue as being assigned to SIG Cluster Management. sig/infra Denotes a PR or issue as being assigned to SIG Infra.
Projects
None yet
Development

No branches or pull requests

3 participants