sap_ha_pacemaker_cluster: Stonith SBD enablement, stonith and repos dictionaries#829
Merged
Conversation
ja9fuchs
reviewed
Jul 30, 2024
- separated pcmk_host_map into platform variables, except GCP - Added support for Tech Debt stonith_custom dictionary
sean-freeman
approved these changes
Aug 2, 2024
Member
sean-freeman
left a comment
There was a problem hiding this comment.
Reviewed all commits and discussed in-depth, happy with changes to internal logic and will regression test once merged to dev
👍 Awesome work
ja9fuchs
approved these changes
Aug 2, 2024
Contributor
ja9fuchs
left a comment
There was a problem hiding this comment.
👍
Very nice work, thank you!
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.
New features:
Stonith SBD fence method added with all extra variables required for
ha_clusterSignificant changes to Stonith task file, adding lot of extra validations to avoid execution if:
ha_clustervariables are provided, just skip them because you cannot override precedence anywayNew repository dictionaries:
__sap_ha_pacemaker_cluster_repos_dictdefined inside OS vars__sap_ha_pacemaker_cluster_reposfrom dictionaryNew fence agent dictionaries for each platform
__sap_ha_pacemaker_cluster_stonith_default_dictdefined in each platform vars, then selected correct entry into__sap_ha_pacemaker_cluster_stonith_defaultVariable
sap_ha_pacemaker_cluster_aws_credentials_setupthat can be enabled to store AWS credentials. It is undefined by default to use attached IAM Role/Instance Profile done by AP4S.Default
ha_clusterdefinition from AP4S moved inside of vars code, to create baseline nodes forha_clusterpcs_addressis required only forpcs, but it does not harmcrmshTested on: