Bug 2042526

Summary: Galera doesn't work without 'procps-ng' package [rhscl-3]
Product: Red Hat Software Collections Reporter: Lukas Javorsky <ljavorsk>
Component: galeraAssignee: Lukas Javorsky <ljavorsk>
Status: CLOSED CURRENTRELEASE QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-mariadb105CC: damien.ciabrini, databases-maint, extras-qa, fdinitto, hhorak, ljavorsk, mbayer, mmuzila, mschorm, rhel-cs-apps-subsystem-qe
Target Milestone: alphaKeywords: Triaged, ZStream
Target Release: 3.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2024979
: 2050548 (view as bug list) Environment:
Last Closed: 2022-06-08 14:02:45 UTC Type: ---
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: 2019805, 2024979    
Bug Blocks: 2024974, 2042307, 2050548    

Description Lukas Javorsky 2022-01-19 16:27:33 UTC
+++ This bug was initially created as a clone of Bug #2024979 +++

+++ 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