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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a
Kind
cluster in my workstation. I want to provision a cluster in my Vsphere cluster that contains 3 nodes.First I installed the prerequisites such as
Then I create a manifest using the following command:
And my configuration in
/home/hatef/.config/cluster-api/clusterctl.yaml
Next I applied the
my-cluster.yaml
usingkubectl
here is some output:
The status of cluster doesn't change:
Some logs that may be useful:
kubectl logs -n capd-system pods/capd-controller-manager-59b9dff94f-drqxs
kubectl logs -n capi-kubeadm-bootstrap-system pods/capi-kubeadm-bootstrap-controller-manager-688fd8c888-4zm5p
If I ssh into
my-cluster-tvz7l
it couldn't run cloud-init script successfully{ "boot_status_code": "enabled-by-generator", "datasource": "vmware", "detail": "DataSourceVMware [seed=guestinfo]", "errors": [ "('scripts_user', RuntimeError('Runparts: 1 failures (runcmd) in 1 attempted commands'))" ], "extended_status": "error - done", "init": { "errors": [], "finished": 10.47, "recoverable_errors": {}, "start": 7.97 }, "init-local": { "errors": [], "finished": 6.1, "recoverable_errors": {}, "start": 5.35 }, "last_update": "Thu, 01 Jan 1970 00:04:17 +0000", "modules-config": { "errors": [], "finished": 12.57, "recoverable_errors": {}, "start": 12.37 }, "modules-final": { "errors": [ "('scripts_user', RuntimeError('Runparts: 1 failures (runcmd) in 1 attempted commands'))" ], "finished": 257.37, "recoverable_errors": { "WARNING": [ "Failed to run module scripts_user (scripts in /var/lib/cloud/instance/scripts)", "Running module scripts_user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed" ] }, "start": 12.91 }, "recoverable_errors": { "WARNING": [ "Failed to run module scripts_user (scripts in /var/lib/cloud/instance/scripts)", "Running module scripts_user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed" ] }, "stage": null, "status": "error" }
Beta Was this translation helpful? Give feedback.
All reactions