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

Fixed In Version: sbd-1.5.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2168579 (view as bug list)
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-6716 0 None None None 2023-05-25 10:08:57 UTC
Red Hat Issue Tracker RHELPLAN-148137 0 None None None 2023-02-09 12:17:11 UTC

Description Klaus Wenninger 2023-02-09 12:13:53 UTC
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.