Bug 2168579 - Rebase SBD on upstream 1.5.2 for RHEL 9.3
Summary: Rebase SBD on upstream 1.5.2 for RHEL 9.3
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sbd
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Klaus Wenninger
QA Contact: cluster-qe
URL:
Whiteboard:
Depends On: 2168567
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-09 12:45 UTC by Klaus Wenninger
Modified: 2023-08-10 15:41 UTC (History)
2 users (show)

Fixed In Version: sbd-1.5.2-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2168567
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6717 0 None None None 2023-05-25 10:14:10 UTC
Red Hat Issue Tracker RHELPLAN-148146 0 None None None 2023-02-09 12:49:10 UTC

Description Klaus Wenninger 2023-02-09 12:45:26 UTC
+++ This bug was initially created as a clone of Bug #2168567 +++

Description of problem:


Changes since 1.5.1:

- fail startup if pacemaker integration is disabled while
  SBD_SYNC_RESOURCE_STARTUP is conflicting (+ hint to overcome)
- improve logs
  - when logging state of SBD_PACEMAKER tell it is just that as
    this might still be overridden via cmdline options
  - log a warning if SBD_PACEMAKER is overridden by -P or -PP option
  - do not warn about startup syncing with pacemaker integration disabled
  - when watchdog-device is busy give a hint on who is hogging it
- improve build environment
  - have --with-runstatedir overrule --runstatedir
  - use new package name for pacemaker devel on opensuse
  - make config location configurable for man-page-creation
  - reverse alloc/de-alloc order to make gcc-12 static analysis happy
- improve test environment
  - have image-files in /dev/shm to assure they are in memory and
    sbd opening the files with O_SYNC doesn't trigger unnecessary
    syncs on a heavily loaded test-machine
    fallback to /tmp if /dev/shm doesn't exist
  - wrapping away libaio and usage of device-mapper for block-device
    simulation can now be passed into make via
    SBD_USE_DM & SBD_TRANSLATE_AIO
  - have variables that configure test-environment be printed
    out prior to running tests
  - finally assure we clean environment when interrupted by a
    signal (bash should have done it with just setting EXIT handler -
    but avoiding bashism might come handy one day)


Only thing of the above that has been part of RHEL up to now as a
patch on top of 1.5.1 is giving a hint on who is hogging a watchdog-device.


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