You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environmental Info:
K3s Version:
k3s version v1.18.6+k3s1 (6f56fa1)
Node(s) CPU architecture, OS, and Version:
Linux krystalcode 5.7.11-200.fc32.x86_64 #1 SMP Wed Jul 29 17:15:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
Single-machine install
Describe the bug:
Installed on a fresh Fedora 31 workstation installation with the get.k3s.io script (since then upgraded to Fedora 32 - no behavior change). I disabled swap and SELinux to make sure they're not the issue. k3s fails and restarts continuously.
I see the error when checking configuration: cgroup hierarchy: nonexistent?? (fail) but the referenced link https://github.com/tianon/cgroupfs-mount mentions that If you're using systemd as your init system, you do not need this. The other two errors seem to be due to module renaming.
Steps To Reproduce:
Installed K3s:
With script: curl -sfL https://get.k3s.io | sh -
Install package for SELinux support: rpm -i https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm
Disabled swap: swapoff -a
Set SELinux to permissive mode: setenforce 0
Expected behavior:
More details on the error.
Actual behavior: k3s service fails and restarts continuously.
$ sudo systemctl status k3s
k3s.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: disabled)
Active: activating (start) since Fri 2020-08-07 16:15:37 -05; 1s ago
Docs: https://k3s.io
Process: 26761 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 26762 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Main PID: 26763 (k3s-server)
Tasks: 58
Memory: 395.0M
CPU: 4.301s
CGroup: /system.slice/k3s.service
└─26763 /usr/local/bin/k3s server
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.752728 26763 genericapiserver.go:409] Skipping API batch/v2alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.758787 26763 genericapiserver.go:409] Skipping API discovery.k8s.io/v1alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.766117 26763 genericapiserver.go:409] Skipping API node.k8s.io/v1alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.777112 26763 genericapiserver.go:409] Skipping API rbac.authorization.k8s.io/v1alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.779155 26763 genericapiserver.go:409] Skipping API scheduling.k8s.io/v1alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.787220 26763 genericapiserver.go:409] Skipping API storage.k8s.io/v1alpha1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.797774 26763 genericapiserver.go:409] Skipping API apps/v1beta2 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: W0807 16:15:37.797785 26763 genericapiserver.go:409] Skipping API apps/v1beta1 because it has no resources.
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: I0807 16:15:37.803025 26763 plugins.go:158] Loaded 12 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,LimitRanger,ServiceAccount,NodeRestrict>
Aug 07 16:15:37 desktop.krystalcode k3s[26763]: I0807 16:15:37.803033 26763 plugins.go:161] Loaded 10 validating admission controller(s) successfully in the following order: LimitRanger,ServiceAccount,Priority,PersistentVolumeClai>
Thanks, properly running and cgroup hierarchy: properly mounted [/sys/fs/cgroup] after the following: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" and reboot.
Environmental Info:
K3s Version:
k3s version v1.18.6+k3s1 (6f56fa1)
Node(s) CPU architecture, OS, and Version:
Linux krystalcode 5.7.11-200.fc32.x86_64 #1 SMP Wed Jul 29 17:15:52 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
Single-machine install
Describe the bug:
Installed on a fresh Fedora 31 workstation installation with the
get.k3s.io
script (since then upgraded to Fedora 32 - no behavior change). I disabled swap and SELinux to make sure they're not the issue.k3s
fails and restarts continuously.I see the error when checking configuration:
cgroup hierarchy: nonexistent?? (fail)
but the referenced linkhttps://github.com/tianon/cgroupfs-mount
mentions thatIf you're using systemd as your init system, you do not need this
. The other two errors seem to be due to module renaming.Steps To Reproduce:
With script:
curl -sfL https://get.k3s.io | sh -
Install package for SELinux support:
rpm -i https://rpm.rancher.io/k3s-selinux-0.1.1-rc1.el7.noarch.rpm
Disabled swap:
swapoff -a
Set SELinux to permissive mode:
setenforce 0
Expected behavior:
More details on the error.
Actual behavior:
k3s
service fails and restarts continuously.Additional context / logs:
The text was updated successfully, but these errors were encountered: