Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsqlms: only check notify and promotable when OCF_CHECK_LEVEL=10 #216

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oalbrigt
Copy link
Contributor

@oalbrigt oalbrigt commented Jan 4, 2023

Pacemaker has started running validate-all action before creating the resource. It doesnt provide notify/promotable settings while doing so, so this patch moves these checks to OCF_CHECK_LEVEL 10 and runs the validate action at OCF_CHECK_LEVEL 10 when action is not validate-all.

@oalbrigt oalbrigt force-pushed the pgsqlms-validate-all-ocf_check_level-10 branch from c85bee8 to a5e1c41 Compare January 4, 2023 13:41
@ioguix
Copy link
Member

ioguix commented Jan 9, 2023

Hi,

Just for the record, this is currently discussed on the pacemaker mailing list.

Pacemaker has started running validate-all action before creating the resource

This is not a Pacemaker change. It is a pcs one and there might be a possible fix there about setting meta parameters during the validate-all check (set them as environment variable)..

Moreover, another non pcs-related fix might be to exec some of these checks to the probe action.

I'll update here.

Thank you!

Pacemaker has started running validate-all action before creating the resource. It doesnt provide notify/promotable settings while doing so, so this patch moves these checks to OCF_CHECK_LEVEL 10 and runs the validate action at OCF_CHECK_LEVEL 10 when action is not validate-all.
@oalbrigt oalbrigt force-pushed the pgsqlms-validate-all-ocf_check_level-10 branch from a5e1c41 to 8986161 Compare January 11, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants