Releases: ClusterLabs/booth
1.2
I am pleased to announce the latest maintenance release of Booth 1.2 is
available immediately from GitHub at
https://github.com/ClusterLabs/booth/releases as booth-1.2.
Booth 1.2 implements support for changes in Pacemaker 3. It is known
that older versions of Booth will not work properly because of using
deprecated and in Pacemaker 3 removed CLI arguments. To make this
support possible, very old versions of Pacemaker are no longer
supported and minimum Pacemaker version is 2.1 as noted in release
notes for Booth 1.1.
Another big change is add support for GnuTLS as an alternative to mhash
and gcrypt for encryption library. Configure script by default tries to
autodetect installed library (order is GnuTLS, gcrypt, mhash) or
it is possible to use parameter --with-hmac-library to choose specific
implementation.
This release is also required for users with Kernel >= 6.9, because function
which finds local host was broken and caused endless loop for these Kernels.
Another important reason to upgrade is fix for CVE-2024-3049. For package
maintainers of older versions, patches from PR#142 are needed and compatible
with at least Booth 1.1.
Smaller but hopefully helpful new feature is that Booth now
stores booth-cfg-name attribute to allow cluster configuration
tools delete CIB ticket when removing ticket from booth configuration.
Lastly, I'm very happy to announce new maintainer for the booth project:
Chris Lumens. Chris has superb knowledge of Pacemaker code and already
gain pretty good understanding of Booth code. Combination of Pacemaker
and Booth code knowledge is perfect match for Booth.
I will remain with project as a patches reviewer.
Complete changelog for 1.2:
Chris Lumens (1):
tests: Remove the unit-tests directory.
Jan Friesse (14):
pacemaker: Remove non-atomic grant of ticket
pacemaker: Don't add explicit error prefix in log
pacemaker: Check snprintf return values
pacemaker: Use long format for crm_ticket -v
pacemaker: Remove const warning
query_get_string_answer: Remove duplicate line
transport: Fix _find_myself for kernel 6.9
pacemaker: Store booth-cfg-name attribute
attr: Fix reading of server_reply
auth: Check result of gcrypt gcry_md_get_algo_dlen
configure: Remove duplicate mhash.h check
configure: Add option to select HMAC library
Add support for GnuTLS
build: Prepare version 1.2 release
Upgrade is highly recommended.
Thanks/congratulations to all people that contributed to achieve this milestone.
1.1
I am pleased to announce the latest maintenance release of Booth 1.1 is available immediately from GitHub at https://github.com/ClusterLabs/booth/releases as booth-1.1.
Booth 1.1 has been released 7 long years after 1.0, so there are a huge number of changes and it is really hard to highlight the most important ones (and I would rather not even try). Also I guess most booth users are actually running a git version so most of the fixes are already in production.
Please keep in mind that this is the last release where very old versions of Python, Pacemaker, ... are supported. The next release will require at least Python 3.9, Pacemaker 2.1, ... Basically RHEL 8 was chosen as the oldest supported base. I hope virtually nobody will be affected by this decision (and if you are then patches are welcomed ;) ).
My plan is to do regular releases once, maybe twice a year (more if needed of course). Also I'm expecting 1.2 later this year to prepare Booth for changes in Pacemaker 3.0. So stay tuned!
Complete changelog for 1.1:
Aleksei Burlakov (1):
test: fix the delimiter in the here-string
Bin Liu (2):
low:fix:remove unnecessary return from unit-test.py
typo fix: there is no %{S:2} defined in booth.spec
Chris Kowalczyk (16):
Build: create and set working directory
Build: add correct permissions to the folders
Config: handle hostnames in booth.conf file
Change comment style and indentation
Find the correct address of a local site
Booth Daemon Arguments: disable foreground for D flag
Booth Daemon Arguments: Added tests for DS and S flags
Booth Daemon Arguments: Enable stderr for foregound mode
Booth Daemon Arguments: Disable stderr for daemon mode
Feature: add manual mode to booth tickets
Fixed typo in help message
Updates after review
Updates after code review
Handle multi-leader situation for manual tickets. Added manual tickets to Life Tests framework
Refactoring after review comments
Fix asciidoc build
Dan Streetman (1):
Don't lock all current and future memory if can't increase memlock rlimit
Dejan Muhamedagic (14):
Doc: update the before-acquire-handler description to match the new semantics
Dev: extprog: rename prog to path (it can be a directory too)
build: remove the old paxos update pre-script
Feature: extprog: add capability to run a set of programs
Medium: extprog: external tests timeout after renewal interval
Medium: main: finally fix address matching
Low: ticket: reset next state on ticket reset
Low: extprog: fix pid test
Dev: extprog: set progstate debug
Low: attr: set time string to "" when time is not set
Low: attr: add ticket name to warnings
Medium: attr: fix wrong order for hash free functions
Medium: extprog: fix race condition on ticket loss
fix bashisms (use printf instead of echo)
Fabio M. Di Nitto (14):
build: use pkg-config way to detect and use pacemaker header files
build: allow to override path to python without failing version checks
build: fix make distcheck
[build] ship booth.pc with basic booth build information for downstream packages to use
configure: Simplify libqb detection when libqb is not installed in standard paths
configure: detect and init pkg-config with proper macro
configure: add BOOTH_PKG_CHECK_VAR macro to wrap PKG_CHECK_VAR
configure: use resource-agents pkg-config info to determine ocfdir
configure: use PKG_CONFIG to detect pacemaker user/group
configure: drop unnecessary macro
configure: drop dead code
configure: move exec_prefix sanitizer closer to prefix
configure: drop unnecessary check and define
rpm: use new package name for pacemaker devel on opensuse
Jan Friesse (64):
test: Allow test running as a root
test: Enlarge timeout for boothd exit
test: Actively wait for lock file create/delete
build: Make make distcheck with asciidoctor
docs: Fix description of how to run python tests
tests: Make test work for Debian systems
main: Accept longer config and lock file names
main: Delete lockfile when signal arrive too early
build: Do not link with pcmk libraries
pacemaker: Handle updated exit code of crm_ticket
tests: Allow parallel running of tests
build: Make generating of HTML man work
build: Remove unneeded OS detection section
build: Make sure tarball contains all needed files
build: Delete cov directory on clean
configure: Always let automake set python vars
main: mkdir failure is not critical
pacemaker: Express intention about logical or
pacemaker: Change rv handling of pcmk_get_attr
transport: setsockopt failures are not critical
transport: Check fcntl return value
build: Use git-version-gen
build: Rework build of RPM
build: Substitute asciidoc or asciidoctor for RPM
build: Substitute glue dependency in RPM
build: Substitute python dependency in RPM
build: Substitute hauser and haclient in RPM
build: Add option to enable tests during rpmbuild
booth.spec: Add fedora compatibility provides
build: Remove bashisms
test: Add compatibility with iproute ss command
configure: Make sure without-html_man works
git-version-gen: Use fallback for git-archive
build: Fix building of html docs with asciidoc
boot.spec.in: Package html files when generated
booth.spec: Change naming scheme for upgrades
config: Remove deprecated net functions
test: Enhance wait_for_lock_file
main: Use only signal-safe functions
handler: Use only signal-safe functions
doc: Describe debug config file option
Revert "Refactor: main: substitute is_auth_req macro"
ticket: Fix compiler warning
configure: Modernize configure.ac a bit
unit file: Remove Alias directive
config: Include keyword in error message
config: Include protocol in error message
test: Add test for unknown/unexpected keyword
man: Move debug description to better place
man: Indent peers counters
man: Do not format __defaults__
man: Remove italic bold formatting
man: remove literal paragraph format from boothd.8
man: Add generated html files into gitignore
spec: Migrate to SPDX license
main: Fix exit code on grant/revoke command error
attr: Fix memory leak for list and get operation
attr: Fix glib hash_table != NULL assert
tests: Fix Python 3.12 warning
build: Add gitlog-to-changelog
build: Add release.mk
build: Include icons in release tarballs
build: Make distcheck work for non-root user
Prepare 1.1
Jan Pokorný (94):
maint: fix the FSF address + 5x s/write the/write to the/
maint: clarify GPLv2.1+ -> GPLv2+ in the license notices
maint: licensing conformance follow-up (library->program)
fixup: sanitize true-false logic for "daemonize"
Low: drop new_election's dead code as SITE role already enforced
maint: configure: drop useless AC_CHECK_LIB invocations
maint: configure: --enable-resource-monitor no longer relevant
maint: configure: nicely formatted help/summary screens
build: s/CPPFLAGS/CFLAGS/ + use GLIB_LIB
build: allow requesting no HTML man + use in spec
build: add proper zlib build-time check + link flag + spec's BR
maint: configure: drop some more useless definitions
maint: spec: SPDX license notation only for SUSE
maint: spec: drop redundant, unused %check scriptlet
maint: spec: get rid of redundant %clean section
maint: spec: use pkgconfig for glib-2.0
Low: avoid using cl_log directly
Low: apparently static function should be marked so
Low: use unsigned int where suitable
Low: const-cast char arrays where suitable
Low: "char *" more string funcs friendly than unsigned variant
Low: make (a defensive) use of known static buffer sizes
Low: drop unused inline function
Med: prevent possible truncation w/ invalid geoattrs in CIB
test: fix failing test_a_few_trailing_whitespaces
test: adapt to libqb-based logging with lowercased priorities
test: booth cannot cope with <address>%<device> IPv6 addresses
test: fix a typo in assertion violation message
build: ensure expected behavior if --without-html_man not provided
docs: licensing conformance follow-up (man pages)
Med: make foreach_* macros use variable refs passed as arguments
Low: read_config: unify jump labels (parsing: err, after: out)
Low: read_config: close config file when no longer needed
Med: format_peers: fix a memleak in case of buffer too small
Low: do_status: avoid shadowing the file-scope static variable
Low: do_status: first check for lock's fd from _lockfile
Low: do_status: fix superfluous check for valid lock's fd
Low: do_status: close lock file when no longer needed
Low: list...