-
Notifications
You must be signed in to change notification settings - Fork 135
Open
Open
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/cluster-managementDenotes a PR or issue as being assigned to SIG Cluster Management.Denotes a PR or issue as being assigned to SIG Cluster Management.sig/infraDenotes a PR or issue as being assigned to SIG Infra.Denotes a PR or issue as being assigned to SIG Infra.
Description
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
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/cluster-managementDenotes a PR or issue as being assigned to SIG Cluster Management.Denotes a PR or issue as being assigned to SIG Cluster Management.sig/infraDenotes a PR or issue as being assigned to SIG Infra.Denotes a PR or issue as being assigned to SIG Infra.