Skip to content

v1.4.2: Changes since 1.4.1:

Compare
Choose a tag to compare
@wenningerk wenningerk released this 02 Dec 20:35

-- improve build/CI-friendlyness

  • travis: switch to F32 as build-host
    switch to F32 & leap-15.2
    changes for mock-2.0
    turn off loop-devices & device-mapper on x86_64 targets because
    of changes in GCE
  • regressions.sh: get timeouts from disk-header to go with proper defaults
    for architecture
  • use configure for watchdog-default-timeout & others
  • ship sbd.pc with basic sbd build information for downstream packages
    to use
  • add number of commits since version-tag to build-counter

-- add robustness against misconfiguration / improve documentation

  • add environment section to man-page previously just available in
    template-config
  • inform the user to restart the sbd service after disk-initialization
  • refuse to start if any of the configured device names is invalid
  • add handshake to sync startup/shutdown with pacemakerd
    Previously sbd just waited for the cib-connnection to show up/go away
    which isn't robust at all.
    The new feature needs new pacemakerd-api as counterpart.
    Thus build checks for presence of pacemakerd-api.
    To simplify downstream adoption behavior is configurable at runtime
    via configure-file with a build-time-configurable default.
  • refuse to start if qdevice-sync_timeout doesn't match watchdog-timeout
    Needed in particular as qdevice-sync_timeout delays quorum-state-update
    and has a default of 30s that doesn't match the 5s watchdog-timeout
    default.

-- misc fixes

  • Fix: sbd-pacemaker: handle new no_quorum_demote + robustness against new
    policies added
  • Fix: agent: correctly compare string values when calculating timeout
  • Fix: scheduling: overhaul the whole thing
    • prevent possible lockup when format in proc changes
    • properly get and handle scheduler policy & prio
    • on SCHED_RR failing push to the max with SCHED_OTHER