Bug 2050225

Summary: Galera doesn't work without 'procps-ng' package MariaDB-10.3
Product: Red Hat Enterprise Linux 8 Reporter: Lukas Javorsky <ljavorsk>
Component: galeraAssignee: Zuzana Miklankova <zmiklank>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: databases-maint, hhorak, jheger, mschorm
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2050550 2079858 (view as bug list) Environment:
Last Closed: 2022-05-31 13:33:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2050550, 2079858    

Description Lukas Javorsky 2022-02-03 13:42:29 UTC
This bug was initially created as a copy of Bug #2024979

I am copying this bug because: 



+++ This bug was initially created as a clone of Bug #2019805 +++

Description of problem:
The Galera package should definitely Require 'procps-ng' package, otherwise, it won't work.
This is reproducible only when not using the '--wsrep-new-cluster' option (So when you want to connect to the cluster with mariadb-server).


Version-Release number of selected component (if applicable):
All versions and all releases

How reproducible:
Always

Steps to Reproduce:
# This needs to be done because it is present in the system (however, users can remove it anytime, so we shouldn't rely on the fact, that it's installed)
1. dnf remove procps-ng -y
2. dnf install galera mariadb-server-galera mariadb
3. Change the config files to the corresponding options
4. systemctl start mariadb

Actual results:
It won't start and will wait to infinity

Expected results:
Start the mariadb-server and connect to the cluster.

Additional info:
When you install the 'procps-ng' package, the 'systemctl start mariadb' process will successfully start the MariaDB server, and everything works as expected

This issue should be resolved in all of the products and versions (RHEL-7,8,9; ...)

Patch should be simple: Just add 'Requires: procps-ng' to the galera spec file

--- Additional comment from Lukas Javorsky on 2021-11-03 11:45:01 UTC ---

Also, Honza spotted that upstream has this requirement in their list of packages that should be required by Galera
https://github.com/codership/galera/blob/3.x/scripts/mysql/centos/mysql-wsrep.list#L24