-
Notifications
You must be signed in to change notification settings - Fork 311
Description
Environmental Info:
RKE2 Version: v1.20.7+rke2r1
Node(s) CPU architecture, OS, and Version:
Linux hostname 4.18.0-305.el8.x86_64 #1 SMP Thu Apr 29 08:54:30 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.4 (Ootpa)
Cluster Configuration: Single node.
Describe the bug:
Pod communication is not possible when running on a RHEL 8.4 host on AWS, regardless of selinux status.
Steps To Reproduce:
mkdir -p /etc/rancher/rke2/
systemctl stop firewalld
cat > /etc/rancher/rke2/config.yaml <<EOF
selinux: true
write-kubeconfig-mode: "0644"
EOF
curl -sfL https://get.rke2.io --output install.sh
chmod +x install.sh
INSTALL_RKE2_CHANNEL=stable ./install.sh
systemctl enable rke2-server.service --now
Wait for RKE2 server to start and pods to start, and try to ping any pod IP in the 10.42.x.x range.
Expected behavior:
Pods can talk.
Actual behavior:
Pods don't talk.
Additional context / logs:
Looking at a tcpdump from within the container, you can see the corresponding ICMP request/reply, so the pod is definitely receiving the traffic. It seems to be getting lost heading back to the host network namespace.
This does not occur on VMs running in our test environment that are running RHEL 8.4
selinux status does not seem to affect the issue.