[booth] Add plugin for the Booth cluster ticket manager - #4424
Open
suraj-cmd wants to merge 1 commit into
Open
Conversation
Booth manages tickets across geographically separate Pacemaker clusters and is packaged for Fedora, RHEL and SUSE. sos has a pacemaker plugin but nothing for booth, and no other plugin references it, so an sosreport from a booth site or arbitrator contains no configuration, ticket state or logs. Paths and unit names are taken from upstream. src/booth.h defines the configuration directory as /etc/booth, the run directory as /var/run/booth and the log as /var/log/booth.log. conf/ ships booth-arbitrator.service and the templated booth@.service, the latter keyed on /etc/booth/%i.conf. "booth list" is the command the OCF resource agent itself uses to check ticket state; peers and status are collected alongside it. src/config.c parses an "authfile" option and src/main.c reads that file as a shared secret used to authenticate ticket messages between sites. Key material under the configuration directory is added to the forbidden paths so it cannot be collected. Signed-off-by: Suraj Patil <surajpatil522@gmail.com>
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Booth manages tickets across geographically separate Pacemaker clusters and is
packaged for Fedora, RHEL and SUSE. sos has a pacemaker plugin but nothing for
booth, and no other plugin references it, so an sosreport from a booth site or
arbitrator contains no configuration, ticket state or logs.
Paths and unit names are taken from upstream.
src/booth.hdefines theconfiguration directory as
/etc/booth, the run directory as/var/run/boothand the log as
/var/log/booth.log.conf/shipsbooth-arbitrator.serviceand the templated
booth@.service, the latter keyed on/etc/booth/%i.conf.booth listis the command the OCF resource agent itself uses to check ticketstate; peers and status are collected alongside it.
src/config.cparses anauthfileoption andsrc/main.creads that file asa shared secret used to authenticate ticket messages between sites. Key
material under the configuration directory is added to the forbidden paths so
it cannot be collected.
Confirmation of the packaged
authfiledefault location would be welcome — Ihave excluded
*.keyandauthkeyunder/etc/booth, but the option acceptsan arbitrary path, so a reviewer with a real deployment may know of a
conventional location I have missed.
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines