SUSE Support

Here When You Need Us

Firewalld block rancher cluster dns: Weave CNI does not work with Firewalld on RHEL 8 based OSs

This document (000020713) is provided subject to the disclaimer at the end of this document.

Environment

Issue:
Firewalld service block Rancher cluster DNS on Rhel8.

Steps to reproduce:
     1. Install and setup RKE on RHEL 8
     2. CoreDNS is deployed as part of the RKE setup
     3. Start firewalld service on RHEL8 nodes.

After starting firewalld service, k8s pod logs return connection error:
ent-041273.voicelab.local. A: read udp 172.21.0.19:58953->1.10.64.26:53: i/o timeout --------------

Situation

The Internal Kubernetes DNS server (coredns) is blocked. Once firewalld is stopped, the Kubernetes DNS works well.

Firewalld block these ports that are required:

- 2379-2380/tcp
- 4789/udp
- 5000/tcp
- 6443/tcp
- 6783/tcp
- 6783-6784/udp
- 9100/tcp
- 10250/tcp
- 10257/tcp
- 10259/tcp

Resolution

Stop firewalld on RHEL8 nodes, it is a requirement as described in Rancher requirements:
https://rancher.com/docs/rancher/v2.6/en/installation/requirements/#operating-systems-and-container-runtime-requirements
 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020713
  • Creation Date: 11-Oct-2022
  • Modified Date:11-Oct-2022
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.