PAF icon indicating copy to clipboard operation
PAF copied to clipboard

pgsqlms: only check notify and promotable when OCF_CHECK_LEVEL=10

Open oalbrigt opened this issue 3 years ago • 1 comments

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 avatar Jan 04 '23 13:01 oalbrigt

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!

ioguix avatar Jan 09 '23 22:01 ioguix