Open
Conversation
The crm_master command has been deprecated and replaced with a new crm_attribute --promotion option that defaults to --lifetime=reboot (example: crm_master -l reboot -v 10 becomes crm_attribute --promotion -v 10. The old command will still work for now, but the new one should be used if available. Also define ocf_promotion_score() as resource-agents/heartbeat/ocf-shellfuncs.in if it doesn't exist. Signed-off-by: Su Yue <glass.su@suse.com>
According to [1], the commit
1. Bumps drbd ocf version to 1.5.
2. Updates the <version> element to 1.1 for declare support of OCF 1.1.
3. advertises new role names 'Unpromoted' and 'Unpromoted' instead of
'Master' and 'Slave' if crm_feature_set is newer than 3.9.0.
Also update default role value in crm-fence-peer.9.sh.
Links: https://projects.clusterlabs.org/w/development/update_resource_agent_for_ocf_1.1/
Signed-off-by: Su Yue <glass.su@suse.com>
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.
Here is a patchset which adds supports of drbd.ocf for OCF 1.1 standard.
The motivation is that drbd RA is broken with pacemaker built without option '--enable-compat-2.0'.
The ocf and crm-fence-peer.9.sh needed to be adjusted.
This version keeps backward compatibility with old versions pacemaker.