pgsqlms: only check notify and promotable when OCF_CHECK_LEVEL=10
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.
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!