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 1650663 - Use libpe_status API as newly documented and rebuild sbd
Summary: Use libpe_status API as newly documented and rebuild sbd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sbd
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 8.0
Assignee: Klaus Wenninger
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
: 1654212 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-16 18:55 UTC by Ken Gaillot
Modified: 2019-06-14 01:25 UTC (History)
5 users (show)

Fixed In Version: sbd-1.3.1-17.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 01:25:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ken Gaillot 2018-11-16 18:55:39 UTC
Description of problem: sbd uses pacemaker's libpe_status API, which has heretofore been undocumented and thus private. The pacemaker version in 8.0 will document the API, making it public, but with a key change that sbd needs to make. The change also bumps the shared object version, thus a rebuild is required in any case.

Additional info:
See the changes needed at https://github.com/ClusterLabs/pacemaker/pull/1608 . This bz should be cloned for 7.7, as the pacemaker change will land there as well.

Comment 1 Ken Gaillot 2018-11-16 19:07:01 UTC
To retain upstream compatibility with both old and new versions of pacemaker, it would be worthwhile to detect whether one of the new functions is available, and conditionalize the code based on that. The code paths could be made more similar by dynamically allocating the object when using the old pacemaker.

Comment 2 Klaus Wenninger 2018-11-20 18:42:42 UTC
https://github.com/ClusterLabs/sbd/pull/60

Comment 3 Klaus Wenninger 2018-12-03 10:08:44 UTC
*** Bug 1654212 has been marked as a duplicate of this bug. ***


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