-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
[BUG] Cluster fails to create with servers > 1 #538
Comments
Meanwhile creating for example |
Hm, I flushed all firewall rules and changed policies to ACCEPT as far as I can tell:
and I'm still getting on second server loops of
It doesn't seem to be an issue with nftables, since
It most likely is just a Fedora / Qubes thing, I'm just thinking aloud here, a bit in hopes you'll spot something or have some pointers ;) |
Oh, I may have found something:
Is this a legitimate issue, or is this indeed "running inside container" and to be expected? |
Unfortunately, I'm completely unfamiliar with Fedora, as I never used it... but it seems like it introduces lots of issues when trying to use k3d 🤔
This is expected and doesn't bring in any issues (e.g. those logs appear for me as well and everything starts up normally). Could it in some way be related to Edit: the KIND docs have an additional entry regarding firewalld/nftables |
It's probably more related to Qubes than Fedora as such. I'll try to play with different scenarios on different distros over the weekend and get back to you. |
Sorry for the delay. I'll be investigating more, but I've just set up fresh VMs of Workstation versions of Fedora 33 and Ubuntu 20.04 with docker, and indeed creating a cluster with 3 servers succeeded on Ubuntu and failed on Fedora. I'll try to find out what the difference is. |
It looks like on Fedora it fails on cgroup v2. Comparing logs of the first server between Fedora and Ubuntu, the difference on Fedora starts around here:
though there is before that a
|
On a "normal" Fedora 33 |
same thing happened to me
If I do not set the timeout, it hangs forever. But when i tried with 5 servers, it also did not work |
Hey 👋 |
Hey @viq , do you have any update on this issue or can it be closed after introducing the CGroupV2 fix? |
Closing this issue due to inactivity and a potential fix provided. Feel free to reopen if it still applies 👍 |
What did you do
k3d cluster create -a 1 -s 3 --registry-create viq-test
What did you expect to happen
Running cluster with three servers and one agent node.
Screenshots or terminal output
The first server starts:
but the second one never completes enough to report as ready:
Which OS & Architecture
Linux (Qubes, Fedora-33 based Xen VM)
Which version of
k3d
Which version of docker
The text was updated successfully, but these errors were encountered: