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
[root@rancher ~]# k3s -v
k3s version v1.31.4+k3s1 (a562d09)
go version go1.22.9
Node(s) CPU architecture, OS, and Version:
Linux rancher.sarrionandia.co.uk 5.14.0-542.el9.aarch64 #1 SMP PREEMPT_DYNAMIC Wed Dec 11 17:26:47 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
Single Node
Describe the bug:
Something has change in either k3s or the k3s-selinux policy. The latest version of k3s is not able to manipulate iptables with the current and latest version of selinux polices. This WAS working with the previous version of k3s. Performing a setforce 0 allows the pod to start
Environmental Info:
K3s Version:
[root@rancher ~]# k3s -v
k3s version v1.31.4+k3s1 (a562d09)
go version go1.22.9
Node(s) CPU architecture, OS, and Version:
Linux rancher.sarrionandia.co.uk 5.14.0-542.el9.aarch64 #1 SMP PREEMPT_DYNAMIC Wed Dec 11 17:26:47 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
Single Node
Describe the bug:
Something has change in either k3s or the k3s-selinux policy. The latest version of k3s is not able to manipulate iptables with the current and latest version of selinux polices. This WAS working with the previous version of k3s. Performing a setforce 0 allows the pod to start
[root@rancher log]# rpm -q -a|grep selinux
libselinux-3.6-2.el9.aarch64
python3-libselinux-3.6-2.el9.aarch64
libselinux-utils-3.6-2.el9.aarch64
selinux-policy-38.1.50-1.el9.noarch
selinux-policy-targeted-38.1.50-1.el9.noarch
rpm-plugin-selinux-4.16.1.3-36.el9.aarch64
container-selinux-2.233.0-1.el9.noarch
k3s-selinux-1.6-1.el9.noarch
[root@rancher ~]# kubectl logs svclb-traefik-8cd4a817-q768g -n kube-system
Defaulted container "lb-tcp-80" out of: lb-tcp-80, lb-tcp-443
[INFO] nft mode detected
grep -qF nf_tables
Warning: Extension tcp revision 0 not supported, missing kernel module?
iptables v1.8.10 (nf_tables): RULE_INSERT failed (No such file or directory): rule in chain FORWARD
Steps To Reproduce:
Setup selinux and stuff
Install latest K3S without traefik
Install traefik via helm chart
Install rancher via helm chart
See Script.
https://github.com/martinsarrionandia/aws-rancher/blob/main/modules/rancher-instance/templates/rancher_boot.sh
Expected behavior:
All pods should start
Actual behavior:
svclb-traefik doesn't start
Additional context / logs:
See attached selinux audit.log
The text was updated successfully, but these errors were encountered: