Replies: 2 comments
-
In this case I would recommend you to set |
Beta Was this translation helpful? Give feedback.
-
Please investigate in the other logs from cloud-init which should show better what exactly failed. For questions to the community, feel free to reach out to Slack https://kubernetes.slack.com/archives/CKFGK3SSD or open an issue with the description. We normally don't use github discussions. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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