Closed plluksie closed 2 years ago
Seems to be an issue with podman. It works with
❯ podman -v
podman version 3.4.2
I'll check with podman project.
@plluksie I'm having the same issue with podman 4.3.1, did you get it resolved without downgrading or is there an issue in podman for it?
@deftdawg you ever figure it out? I'm running podman 4.3.1 with the same issue
Perhaps the systemd-run note https://kind.sigs.k8s.io/docs/user/rootless/#creating-a-kind-cluster-with-rootless-podman ?
@deftdawg you ever figure it out? I'm running podman 4.3.1 with the same issue
No, gave up and switched to running docker-rootless
Ah, thanks for the update @BenTheElder & @deftdawg
I encounter the same problem:
❯ sudo cat /etc/systemd/system/user@.service.d/delegate.conf
[Service]
Delegate=yes
> podman version
Client: Podman Engine
Version: 5.0.0-dev
API Version: 5.0.0-dev
Go Version: go1.21.1
Built: Thu Jan 1 00:00:00 1970
OS/Arch: linux/amd64
❯ KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster --name test --config kind-config.yaml
using podman due to KIND_EXPERIMENTAL_PROVIDER
enabling experimental podman provider
ERROR: failed to create cluster: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
I encounter the same problem:
❯ sudo cat /etc/systemd/system/user@.service.d/delegate.conf [Service] Delegate=yes > podman version Client: Podman Engine Version: 5.0.0-dev API Version: 5.0.0-dev Go Version: go1.21.1 Built: Thu Jan 1 00:00:00 1970 OS/Arch: linux/amd64 ❯ KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster --name test --config kind-config.yaml using podman due to KIND_EXPERIMENTAL_PROVIDER enabling experimental podman provider ERROR: failed to create cluster: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
I got the same problem
I encounter the same problem:
❯ sudo cat /etc/systemd/system/user@.service.d/delegate.conf [Service] Delegate=yes > podman version Client: Podman Engine Version: 5.0.0-dev API Version: 5.0.0-dev Go Version: go1.21.1 Built: Thu Jan 1 00:00:00 1970 OS/Arch: linux/amd64 ❯ KIND_EXPERIMENTAL_PROVIDER=podman kind create cluster --name test --config kind-config.yaml using podman due to KIND_EXPERIMENTAL_PROVIDER enabling experimental podman provider ERROR: failed to create cluster: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
I got the same problem
update your crun version
The unit file seems to be ignored on my systemd as well (debian bookworm).
This -p "Delegate=yes"
seems to have done it:
systemd-run --scope --user -p "Delegate=yes" kind create cluster
Found the trick in regard to LXC.
The unit file seems to be ignored on my systemd as well (debian bookworm).
This
-p "Delegate=yes"
seems to have done it:systemd-run --scope --user -p "Delegate=yes" kind create cluster
Found the trick in regard to LXC.
* podman version 4.3.1 * crun version 1.8.1 * systemd 252 (252.22-1~deb12u1) * kind version 0.22.0
That did the trick for me too, thanks.
4.9.3
1.14.4
255 (255.4-1-manjaro)
0.22.0
The unit file seems to be ignored on my systemd as well (debian bookworm).
This
-p "Delegate=yes"
seems to have done it:systemd-run --scope --user -p "Delegate=yes" kind create cluster
Found the trick in regard to LXC.
- podman version 4.3.1
- crun version 1.8.1
- systemd 252 (252.22-1~deb12u1)
- kind version 0.22.0
Worked for me too, cheers!
mind adding an update to https://kind.sigs.k8s.io/docs/user/rootless/#creating-a-kind-cluster-with-rootless-podman ?
None of these suggestions seem to work on OpenSUSE Tumbleweed. To reproduce:
kind create cluster
with either podman or nerdctl fails with:ERROR: failed to create cluster: running kind with rootless provider requires setting systemd property "Delegate=yes", see https://kind.sigs.k8s.io/docs/user/rootless/
@BenTheElder I submitted a patch for the docs :pray:
What happened: I'm not able to create cluster.
What you expected to happen: I'm able to create cluster.
How to reproduce it (as minimally and precisely as possible):
Following @cwrau recommendation expressed in https://github.com/kubernetes-sigs/kind/issues/2872#issuecomment-1210772774:
Anything else we need to know?: It was working fine 1 month ago. In the meantime there were some standard package upgrades and security updates. I cannot precisely state what exactly has changed. It is Ubuntu: ❯ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal
Environment:
kind version
): kind v0.14.0 go1.18.2 linux/amd64kubectl version
): Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.13", GitCommit:"a43c0904d0de10f92aa3956c74489c45e6453d6e", GitTreeState:"clean", BuildDate:"2022-08-18T02:28:16Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}docker info
): I don't have docker, I'm using podman: ❯ podman info/etc/os-release
): Ubuntu 20.04.5 LTS