podman-desktop: Error: Failed to create kind cluster. No active cluster!
Bug description
Failing to install a default kind cluster. The steps taken are the ones described in the official documentation, but it fails. No custom configuration whatsoever.
Although it’s possible to see the cluster running, I’m not able to access it or interact with it. Also, Podman-Desktop GUI says the deployment failed.
Operating system
Fedora release 41 (Forty One)
Installation Method
Flathub (Linux)
Version
next (development version)
Steps to reproduce
- Install Podman Desktop
1.14.1version using Flatpak. - Enable the
Kindextension. - Follow the exact steps in the official documentation to create a
kindcluster. - Check in the logs that it fails, although it’s possible to see the cluster running.
Relevant log output
$ podman logs kind-cluster-control-plane
INFO: running in a user namespace (experimental)
WARN: UserNS: SELinux might be Enforcing. If you see an error related to overlayfs, try setting `KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER=fuse-overlayfs` .
INFO: ensuring we can execute mount/umount even with userns-remap
INFO: remounting /sys read-only
mount: /sys: permission denied.
dmesg(1) may have more information after failed mount system call.
INFO: UserNS: ignoring mount fail
INFO: making mounts shared
INFO: detected cgroup v2
INFO: clearing and regenerating /etc/machine-id
Initializing machine ID from random generator.
INFO: faking /sys/class/dmi/id/product_name to be "kind"
INFO: faking /sys/class/dmi/id/product_uuid to be random
INFO: faking /sys/devices/virtual/dmi/id/product_uuid as well
INFO: setting iptables to detected mode: legacy
INFO: detected IPv4 address: 10.89.1.8
INFO: detected IPv6 address: fc00:f853:ccd:e793::8
INFO: starting init
systemd 252.26-1~deb12u2 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Detected virtualization podman.
Detected architecture x86-64.
Welcome to Debian GNU/Linux 12 (bookworm)!
Queued start job for default target graphical.target.
[ OK ] Created slice kubelet.slic… used to run Kubernetes / Kubelet.
[ OK ] Created slice system-modpr…lice - Slice /system/modprobe.
[ OK ] Started systemd-ask-passwo…quests to Console Directory Watch.
proc-sys-fs-binfmt_misc.automount: Failed to initialize automounter: Operation not permitted
proc-sys-fs-binfmt_misc.automount: Failed with result 'resources'.
[FAILED] Failed to set up automount mats File System Automount Point.
See 'systemctl status proc-sys-fs-binfmt_misc.automount' for details.
[ OK ] Reached target cryptsetup.…get - Local Encrypted Volumes.
[ OK ] Reached target integrityse…Local Integrity Protected Volumes.
[ OK ] Reached target paths.target - Path Units.
[ OK ] Reached target slices.target - Slice Units.
[ OK ] Reached target swap.target - Swaps.
[ OK ] Reached target veritysetup… - Local Verity Protected Volumes.
[ OK ] Listening on systemd-journ…t - Journal Socket (/dev/log).
[ OK ] Listening on systemd-journald.socket - Journal Socket.
[ OK ] Listening on systemd-udevd….socket - udev Control Socket.
[ OK ] Listening on systemd-udevd…l.socket - udev Kernel Socket.
[ OK ] Reached target sockets.target - Socket Units.
Mounting sys-kernel-debug.… - Kernel Debug File System...
Mounting sys-kernel-tracin… - Kernel Trace File System...
Starting kmod-static-nodes…ate List of Static Device Nodes...
Starting modprobe@configfs…m - Load Kernel Module configfs...
Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod...
Starting modprobe@fuse.ser…e - Load Kernel Module fuse...
Starting modprobe@loop.ser…e - Load Kernel Module loop...
Starting systemd-journald.service - Journal Service...
Starting systemd-modules-l…rvice - Load Kernel Modules...
Starting systemd-remount-f…nt Root and Kernel File Systems...
Starting systemd-udev-trig…[0m - Coldplug All udev Devices...
sys-kernel-debug.mount: Mount process exited, code=exited, status=32/n/a
sys-kernel-debug.mount: Failed with result 'exit-code'.
[FAILED] Failed to mount sys-kernel…nt - Kernel Debug File System.
See 'systemctl status sys-kernel-debug.mount' for details.
sys-kernel-tracing.mount: Mount process exited, code=exited, status=32/n/a
sys-kernel-tracing.mount: Failed with result 'exit-code'.
[FAILED] Failed to mount sys-kernel…nt - Kernel Trace File System.
See 'systemctl status sys-kernel-tracing.mount' for details.
[ OK ] Finished kmod-static-nodes…reate List of Static Device Nodes.
modprobe@configfs.service: Deactivated successfully.
[ OK ] Finished modprobe@configfs…[0m - Load Kernel Module configfs.
modprobe@dm_mod.service: Deactivated successfully.
[ OK ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod.
modprobe@fuse.service: Deactivated successfully.
[ OK ] Finished modprobe@fuse.service - Load Kernel Module fuse.
modprobe@loop.service: Deactivated successfully.
[ OK ] Finished modprobe@loop.service - Load Kernel Module loop.
Mounting sys-kernel-config…ernel Configuration File System...
[ OK ] Finished systemd-modules-l…service - Load Kernel Modules.
[ OK ] Finished systemd-remount-f…ount Root and Kernel File Systems.
Starting systemd-sysctl.se…ce - Apply Kernel Variables...
Starting systemd-sysusers.…rvice - Create System Users...
Starting systemd-update-ut…rd System Boot/Shutdown in UTMP...
sys-kernel-config.mount: Mount process exited, code=exited, status=32/n/a
sys-kernel-config.mount: Failed with result 'exit-code'.
[FAILED] Failed to mount sys-kernel… Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
[ OK ] Finished systemd-sysctl.service - Apply Kernel Variables.
[ OK ] Finished systemd-sysusers.service - Create System Users.
[ OK ] Started systemd-journald.service - Journal Service.
[ OK ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP.
Starting systemd-journal-f…h Journal to Persistent Storage...
Starting systemd-tmpfiles-…ate Static Device Nodes in /dev...
[ OK ] Finished systemd-journal-f…ush Journal to Persistent Storage.
[ OK ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev.
[ OK ] Reached target local-fs-pr…reparation for Local File Systems.
[ OK ] Reached target local-fs.target - Local File Systems.
Starting systemd-udevd.ser…ger for Device Events and Files...
[ OK ] Started systemd-udevd.serv…nager for Device Events and Files.
[ OK ] Finished systemd-udev-trig…e - Coldplug All udev Devices.
[ OK ] Reached target sysinit.target - System Initialization.
[ OK ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Reached target basic.target - Basic System.
Starting undo-mount-hacks.…ice - Undo KIND mount hacks...
[ OK ] Finished undo-mount-hacks.…rvice - Undo KIND mount hacks.
Starting containerd.servic… - containerd container runtime...
[ OK ] Started containerd.service…0m - containerd container runtime.
[ OK ] Reached target multi-user.target - Multi-User System.
[ OK ] Reached target graphical.target - Graphical Interface.
Starting systemd-update-ut… Record Runlevel Change in UTMP...
[ OK ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.
$ sudo dmesg
[...]
[143349.890659] systemd-rc-local-generator[305912]: /etc/rc.d/rc.local is not marked executable, skipping.
[143349.891922] systemd-ssh-generator[305914]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[143349.891925] systemd-ssh-generator[305914]: → connect via 'ssh .host' locally
[143349.892636] systemd-sysv-generator[305916]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[143349.892639] systemd-sysv-generator[305916]: Please update package to include a native systemd unit file.
[143349.892640] systemd-sysv-generator[305916]: ! This compatibility logic is deprecated, expect removal soon. !
[143353.483480] systemd-rc-local-generator[306139]: /etc/rc.d/rc.local is not marked executable, skipping.
[143353.484654] systemd-ssh-generator[306141]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[143353.484656] systemd-ssh-generator[306141]: → connect via 'ssh .host' locally
[143353.485323] systemd-sysv-generator[306143]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[143353.485326] systemd-sysv-generator[306143]: Please update package to include a native systemd unit file.
[143353.485327] systemd-sysv-generator[306143]: ! This compatibility logic is deprecated, expect removal soon. !
[143353.786077] systemd-rc-local-generator[306339]: /etc/rc.d/rc.local is not marked executable, skipping.
[143353.787233] systemd-ssh-generator[306341]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[143353.787235] systemd-ssh-generator[306341]: → connect via 'ssh .host' locally
[143353.787901] systemd-sysv-generator[306343]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[143353.787904] systemd-sysv-generator[306343]: Please update package to include a native systemd unit file.
[143353.787905] systemd-sysv-generator[306343]: ! This compatibility logic is deprecated, expect removal soon. !
[144167.687617] systemd-rc-local-generator[312087]: /etc/rc.d/rc.local is not marked executable, skipping.
[144167.688846] systemd-ssh-generator[312089]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[144167.688849] systemd-ssh-generator[312089]: → connect via 'ssh .host' locally
[144167.689612] systemd-sysv-generator[312091]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[144167.689615] systemd-sysv-generator[312091]: Please update package to include a native systemd unit file.
[144167.689616] systemd-sysv-generator[312091]: ! This compatibility logic is deprecated, expect removal soon. !
[145020.182607] evm: overlay not supported
[145129.371300] podman2: port 1(veth0) entered blocking state
[145129.371304] podman2: port 1(veth0) entered disabled state
[145129.371307] veth0: entered allmulticast mode
[145129.371332] veth0: entered promiscuous mode
[145129.371749] podman2: port 1(veth0) entered blocking state
[145129.371753] podman2: port 1(veth0) entered forwarding state
[145130.463824] overlayfs: failed to set xattr on upper
[145130.463827] overlayfs: ...falling back to redirect_dir=nofollow.
[145130.463828] overlayfs: ...falling back to uuid=null.
[145130.463829] overlayfs: try mounting with 'userxattr' option
[146290.142069] podman2: port 1(veth0) entered disabled state
[146290.142235] veth0 (unregistering): left allmulticast mode
[146290.142237] veth0 (unregistering): left promiscuous mode
[146290.142243] podman2: port 1(veth0) entered disabled state
[146333.852252] podman2: port 1(veth0) entered blocking state
[146333.852255] podman2: port 1(veth0) entered disabled state
[146333.852259] veth0: entered allmulticast mode
[146333.852284] veth0: entered promiscuous mode
[146333.852651] podman2: port 1(veth0) entered blocking state
[146333.852654] podman2: port 1(veth0) entered forwarding state
[146334.588192] overlayfs: failed to set xattr on upper
[146334.588195] overlayfs: ...falling back to redirect_dir=nofollow.
[146334.588196] overlayfs: ...falling back to uuid=null.
[146334.588196] overlayfs: try mounting with 'userxattr' option
[146453.273568] podman2: port 1(veth0) entered disabled state
[146453.273941] veth0 (unregistering): left allmulticast mode
[146453.273945] veth0 (unregistering): left promiscuous mode
[146453.273952] podman2: port 1(veth0) entered disabled state
[146472.805661] podman2: port 1(veth0) entered blocking state
[146472.805665] podman2: port 1(veth0) entered disabled state
[146472.805668] veth0: entered allmulticast mode
[146472.805692] veth0: entered promiscuous mode
[146472.806070] podman2: port 1(veth0) entered blocking state
[146472.806073] podman2: port 1(veth0) entered forwarding state
[146473.443293] overlayfs: failed to set xattr on upper
[146473.443296] overlayfs: ...falling back to redirect_dir=nofollow.
[146473.443297] overlayfs: ...falling back to uuid=null.
[146473.443297] overlayfs: try mounting with 'userxattr' option
[146954.486505] SELinux: Converting 981 SID table entries...
[146954.490517] SELinux: policy capability network_peer_controls=1
[146954.490519] SELinux: policy capability open_perms=1
[146954.490520] SELinux: policy capability extended_socket_class=1
[146954.490521] SELinux: policy capability always_check_network=0
[146954.490521] SELinux: policy capability cgroup_seclabel=1
[146954.490521] SELinux: policy capability nnp_nosuid_transition=1
[146954.490522] SELinux: policy capability genfs_seclabel_symlinks=1
[146954.490522] SELinux: policy capability ioctl_skip_cloexec=0
[146954.490523] SELinux: policy capability userspace_initial_context=0
[147158.384375] podman2: port 1(veth0) entered disabled state
[147158.384534] veth0 (unregistering): left allmulticast mode
[147158.384537] veth0 (unregistering): left promiscuous mode
[147158.384542] podman2: port 1(veth0) entered disabled state
[147176.076346] podman2: port 1(veth0) entered blocking state
[147176.076350] podman2: port 1(veth0) entered disabled state
[147176.076352] veth0: entered allmulticast mode
[147176.076375] veth0: entered promiscuous mode
[147176.076718] podman2: port 1(veth0) entered blocking state
[147176.076720] podman2: port 1(veth0) entered forwarding state
[147176.640169] overlayfs: failed to set xattr on upper
[147176.640172] overlayfs: ...falling back to redirect_dir=nofollow.
[147176.640172] overlayfs: ...falling back to uuid=null.
[147176.640172] overlayfs: try mounting with 'userxattr' option
[147266.195660] podman2: port 1(veth0) entered disabled state
[147266.195836] veth0 (unregistering): left allmulticast mode
[147266.195839] veth0 (unregistering): left promiscuous mode
[147266.195844] podman2: port 1(veth0) entered disabled state
[157838.218652] systemd-ssh-generator[545529]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[157838.218655] systemd-ssh-generator[545529]: → connect via 'ssh .host' locally
[157838.219271] systemd-sysv-generator[545531]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[157838.219273] systemd-sysv-generator[545531]: Please update package to include a native systemd unit file.
[157838.219274] systemd-sysv-generator[545531]: ! This compatibility logic is deprecated, expect removal soon. !
[157841.427486] systemd-ssh-generator[545839]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[157841.427489] systemd-ssh-generator[545839]: → connect via 'ssh .host' locally
[157841.428201] systemd-sysv-generator[545841]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[157841.428204] systemd-sysv-generator[545841]: Please update package to include a native systemd unit file.
[157841.428205] systemd-sysv-generator[545841]: ! This compatibility logic is deprecated, expect removal soon. !
[157841.771928] systemd-ssh-generator[546035]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[157841.771931] systemd-ssh-generator[546035]: → connect via 'ssh .host' locally
[157841.772877] systemd-sysv-generator[546037]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[157841.772881] systemd-sysv-generator[546037]: Please update package to include a native systemd unit file.
[157841.772882] systemd-sysv-generator[546037]: ! This compatibility logic is deprecated, expect removal soon. !
[158327.018673] systemd-ssh-generator[558476]: Binding SSH to AF_UNIX socket /run/ssh-unix-local/socket.
[158327.018676] systemd-ssh-generator[558476]: → connect via 'ssh .host' locally
[158327.019393] systemd-sysv-generator[558478]: SysV service '/etc/rc.d/init.d/vpnmanager' lacks a native systemd unit file, automatically generating a unit file for compatibility.
[158327.019396] systemd-sysv-generator[558478]: Please update package to include a native systemd unit file.
[158327.019398] systemd-sysv-generator[558478]: ! This compatibility logic is deprecated, expect removal soon. !
[158409.350696] podman2: port 1(veth0) entered blocking state
[158409.350701] podman2: port 1(veth0) entered disabled state
[158409.350708] veth0: entered allmulticast mode
[158409.350743] veth0: entered promiscuous mode
[158409.351198] podman2: port 1(veth0) entered blocking state
[158409.351201] podman2: port 1(veth0) entered forwarding state
[158410.093515] overlayfs: failed to set xattr on upper
[158410.093518] overlayfs: ...falling back to redirect_dir=nofollow.
[158410.093518] overlayfs: ...falling back to uuid=null.
[158410.093519] overlayfs: try mounting with 'userxattr' option
[158525.462218] podman2: port 1(veth0) entered disabled state
[158525.462383] veth0 (unregistering): left allmulticast mode
[158525.462386] veth0 (unregistering): left promiscuous mode
[158525.462391] podman2: port 1(veth0) entered disabled state
[158619.793101] podman2: port 1(veth0) entered blocking state
[158619.793104] podman2: port 1(veth0) entered disabled state
[158619.793107] veth0: entered allmulticast mode
[158619.793130] veth0: entered promiscuous mode
[158619.793490] podman2: port 1(veth0) entered blocking state
[158619.793493] podman2: port 1(veth0) entered forwarding state
[158620.369661] overlayfs: failed to set xattr on upper
[158620.369665] overlayfs: ...falling back to redirect_dir=nofollow.
[158620.369665] overlayfs: ...falling back to uuid=null.
[158620.369666] overlayfs: try mounting with 'userxattr' option
[158884.371217] podman2: port 1(veth0) entered disabled state
[158884.371380] veth0 (unregistering): left allmulticast mode
[158884.371383] veth0 (unregistering): left promiscuous mode
[158884.371390] podman2: port 1(veth0) entered disabled state
[159273.849365] podman2: port 1(veth0) entered blocking state
[159273.849368] podman2: port 1(veth0) entered disabled state
[159273.849372] veth0: entered allmulticast mode
[159273.849397] veth0: entered promiscuous mode
[159273.849786] podman2: port 1(veth0) entered blocking state
[159273.849788] podman2: port 1(veth0) entered forwarding state
[159275.272274] overlayfs: failed to set xattr on upper
[159275.272276] overlayfs: ...falling back to redirect_dir=nofollow.
[159275.272277] overlayfs: ...falling back to uuid=null.
[159275.272277] overlayfs: try mounting with 'userxattr' option
Additional context
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- refactor: adding a check for the KUBECONFIG variable This validation of the existence of the KUBECONFIG variable set in the operating system aims to inform the use through the console that this could... — committed to AlexonOliveiraRH/podman-desktop by AlexonOliveiraRH 2 years ago
- refactor: adding a check for the KUBECONFIG variable This validation of the existence of the KUBECONFIG variable set in the operating system aims to inform the use through the console that this could... — committed to AlexonOliveiraRH/podman-desktop by AlexonOliveiraRH 2 years ago
@odockal I just tested it and apparently it’s working fine now 😃 Even if I set manually the
KUBECONFIGvariable to a wrong path or file, or setting the path directly into thePreferences -> Kubeconfig, it’s able to create thekindcluster.The only thing I noticed is that when I set the wrong path/file, although it still creates the cluster, it doesn’t change to the created context automatically, as it happens when I create it using the proper kubeconfig path and file. But I can change the context manually, so it works either way.
@AlexonOliveiraRH Hello there, we have a patch that got in the in related, could you please try the 1.17 (gonna get released very soon) if it helped? Or I can try as well.
@AlexonOliveiraRH Thanks for the patch!
We have related issue opened: https://github.com/podman-desktop/podman-desktop/issues/10367