Bug 1991773

Summary: dlm v4.1.0 should depend on corosync >= v3.1.0
Product: Red Hat Enterprise Linux 8 Reporter: Reid Wahl <nwahl>
Component: dlmAssignee: David Teigland <teigland>
Status: NEW --- QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: medium    
Version: 8.4CC: aahringo, anprice, ccaulfie, cluster-maint, jfriesse, sbradley
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Reid Wahl 2021-08-10 00:23:35 UTC
Description of problem:

dlm 4.1.0 requires the quorum_model_initialize function in corosync, which was introduced in corosync v3.1.0. dlm_controld fails to start if an older version of corosync is installed.

Aug  9 22:30:59 node1 pacemaker-execd[91995]: notice: dlm_start_0[92121] error output [ dlm_controld: symbol lookup error: dlm_controld: undefined symbol: quorum_model_initialize ]
Aug  9 22:30:59 node1 pacemaker-controld[91998]: notice: Result of start operation for dlm on node1: not running


See also:
  -  An ocf:pacemaker:controld resource fails to start with "symbol lookup error: dlm_controld: undefined symbol: quorum_model_initialize" in a Pacemaker cluster (https://access.redhat.com/solutions/6250411)


dlm 4.1.0 currently requires only corosync >= 1.99.9.

[root@fastvm-rhel-8-0-23 pacemaker]# rpm -q --requires dlm | grep corosync
corosync >= 1.99.9

-----

Version-Release number of selected component (if applicable):

dlm-4.1.0-1.el8

-----

How reproducible:

Always

-----

Steps to Reproduce:
1. Install dlm-4.1.0-1.el8 and a corosync version less than 3.1.0.
2. Try to start dlm_controld (for example, via the ocf:pacemaker:controld resource agent).

-----

Actual results:

dlm_controld: symbol lookup error: dlm_controld: undefined symbol: quorum_model_initialize

-----

Expected results:

dlm_controld starts without issue.

Comment 1 Reid Wahl 2021-08-10 00:31:23 UTC
quorum: Add support for nodelist callback (https://github.com/corosync/corosync/commit/4eb36297)

https://github.com/corosync/corosync/releases/tag/v3.1.0

Comment 4 Andrew Price 2023-01-12 13:21:38 UTC
Was this bug fixed by the rebase in bug 2133827? If so it should be added to the erratum and depend on that bz.

Comment 5 David Teigland 2023-03-08 18:31:30 UTC
That was a rhel9 update, we don't update the rhel8 package very often, but the next time we do we can include this.