kind: Error Starting Control Plane w/ Podman on Fedora 33
What happened:
Hello, when trying to create a kind cluster via kind create cluster
on Fedora 33 w/ podman resulted in an error deploying the control plane.
What you expected to happen: I was hoping for a cluster to be created.
How to reproduce it (as minimally and precisely as possible):
- Fedora 33 w/ podman as underlying OS
- Execute
kind create cluster
Anything Else Here are further log details
➜ kind kind create cluster
enabling experimental podman provider
Creating cluster "kind" ...
✓ Ensuring node image (kindest/node:v1.20.2) 🖼
✓ Preparing nodes 📦
✓ Writing configuration 📜
✗ Starting control-plane 🕹️
ERROR: failed to create cluster: failed to init node with kubeadm: command "podman exec --privileged kind-control-plane kubead
m init --skip-phases=preflight --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1
Command Output: I0425 20:27:13.948213 98 initconfiguration.go:201] loading configuration from "/kind/kubeadm.conf"
[config] WARNING: Ignored YAML document with GroupVersionKind kubeadm.k8s.io/v1beta2, Kind=JoinConfiguration
...
[kubelet-check] It seems like the kubelet isn't running or healthy.
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:102
48/healthz": dial tcp [::1]:10248: connect: connection refused.
Unfortunately, an error has occurred:
timed out waiting for the condition
Environment:
- kind version: (use
kind version
): kind v0.11.0-alpha go1.15.8 linux/amd64 - Kubernetes version: (use
kubectl version
): 1.21 - Docker version: (use
docker info
):N/A - Podman version: (use
podman info
):3.1.2 - OS (e.g. from
/etc/os-release
): Fedora 33
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 3
- Comments: 28 (14 by maintainers)
Same problem with Fedora 34.
weird, are you using fedora? it is complaining about the kernel module for ip6ables, you have to load it
I’m facing the same issue with a Fedora 34 virtual machine. Going through other issues, #2112 makes me wonder if this issue is related to btrfs. I’m not sure other Fedora users under this issue are using btrfs as it’s default since Fedora 33. Out of curiosity, I made another vm with same Fedora 34 workstation installation and same 5.13.6 kernel version but choosing xfs manually instead of btrfs. And there is no issue on that.
(Please refer to the attachment if you need log files from my kind export logs output) logs.zip
Sorry for replying to closed issue:
I’m just replying here as this is where google sent me when googling
modprobe: ERROR: could not insert 'ip6_tables': Operation not permitted
when trying to start kind with podman. Just sudo to root and runmodprobe ip6_tables
and retry and it works for me.kind version 0.18.0 kindest/node:v1.26.3 podman version 4.4.4
I’m going to close this issue to avoid more confusion, no worries about that.
Your error seems related to that https://github.com/kubernetes-sigs/kind/issues/2445, AFAIK podman machine doesn’t work /close
probably:
/assign @aojea