RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1696260 - [RFE]: Add definitions for MariaDB Galera
Summary: [RFE]: Add definitions for MariaDB Galera
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: firewalld
Version: 8.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: 8.0
Assignee: Eric Garver
QA Contact: Štěpán Němec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-04 12:40 UTC by Michal Schorm
Modified: 2021-05-18 14:58 UTC (History)
4 users (show)

Fixed In Version: firewalld-0.8.2-6.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 14:58:48 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Schorm 2019-04-04 12:40:20 UTC
Hello,
this is tracking bug for adding firewall definitions for MySQL & MariaDB replication services.

The default port for MySQL & MariaDB database is 3306 - which is well known and already set in firewalld.

On the top of that, MariaDB Galera replication (for making database clusters) utilizes aditional ports.
This piece of documentation covers them:
http://galeracluster.com/documentation-webpages/firewalld.html

However since we already have "mysql" definition, I'd suggest to create the new one named "galera" or "mariadb-galera".
I'd split them like this beacuse I wouldn´t like to have replication ports opened when not using replication.

Comment 1 Eric Garver 2019-07-01 20:25:35 UTC
The RHEL-8 package is "galera" so we should call the service "galera" as well.



[root@rhel8 030]# dnf search galera
...
galera.x86_64 : Synchronous multi-master wsrep provider (replication engine)
...
mariadb-server-galera.x86_64 : The configuration files and scripts for galera replication

Comment 12 Štěpán Němec 2021-02-03 14:16:02 UTC
https://galeracluster.com/library/documentation/firewall-settings.html states that Galera Cluster multicast replication uses both UDP and TCP on port 4567, but the commit included in the above pull request only configures TCP.
(See also https://github.com/firewalld/firewalld/pull/724#discussion_r533666044 for related developer discussion.)

Is TCP-only OK?

Comment 22 errata-xmlrpc 2021-05-18 14:58:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (firewalld bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1643


Note You need to log in before you can comment on or make changes to this bug.