-
Notifications
You must be signed in to change notification settings - Fork 307
unable to create bootstrap cluster: failed to create kind cluster tkg-kind- #2138
Comments
Hey @syangsao! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Community Edition. |
Hi @syangsao , could you do the following steps to help us understand the issue better.
if you see failure, which means your setup is not ready to create kind cluster, |
Installed The |
@syangsao sorry, please try to run |
Just a guess, this is caused by old containerd 1.3.x runtime in vmware kind/node image that does not support cgroupv2. Kind with containerd 1.5 works fine on fedora 34. Similar issue from minikube kubernetes/minikube#11310 |
It seems it is really related to cgroup v2 (running Fedora 34):
|
My bad, my syntax was incorrect. Re-ran The installation still fails at the same error.
|
same issue here >
|
We are aware of this issue, the tkg/kind/node does not support cgroup v2 yet, the workaround is to run the kind cluster on Linux kernel with cgroup v1 (slightly older linux) |
thanks @figo, after recreate grub to use cgroup v1
Change to use cgroup v1
manifest-file.yaml
|
With I ran the following command from the link and rebooted.
Make sure you verify this is configured upon reboot.
I just verified that the installation finished and is working for me on |
I have the exactly same issue, but not on Fedora but on Debian 11 (AMD64) with a 5.10 kernel / Docker 20.10.9. |
cc @joshrosso @dvonthenen |
Yup, we can definitely add that in the getting started guide so people aren't spinning their wheels. |
Bug Report
Installation fails with the following error:
tanzu management-cluster create --ui
Expected Behavior
kind cluster should run through and install
Steps to Reproduce the Bug
sudo usermod -a -G docker <username>
tce-linux-amd64-v0.9.1.tar.gz
tanzu management-cluster create --ui
Screenshots or additional information and context
Environment Details
tanzu version
): v0.2.1Diagnostics and log bundle
The
tanzu diagnostics collect
fails to capture anything.The text was updated successfully, but these errors were encountered: