-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.1
-
None
-
No
-
Low
-
rhel-ha
-
13
-
26
-
8
-
False
-
False
-
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Create resource with `pcs resource create`, which prints error:
Warning: Validating resource options using the resource agent itself is enabled by default and produces warnings. In a future version, this might be changed to errors. Specify --agent-validation to switch to the future behavior.
Warning: Validation result from agent:
ocf-exit-reason:You must set meta parameter notify=true for your "master" resource
Check that the agent will be working correctly when non-promotable variables are removed in future Pacemaker versions.
Also added fixes/improvements to avoid failing if database or postgresql is missing during probe-action, and to support future promotable-only versions of Pacemaker.
What is the impact of this issue to you?
The agent prints error even when notify is set to true.
Please provide the package NVR for which the bug is seen:
How reproducible is this bug?:
100%
Steps to reproduce
- pcs resource create --future pgsqld ocf:heartbeat:pgsqlms bindir=/usr/bin pgdata=/var/lib/pgsql/data promotable meta notify=true promoted-max=1
Expected results
Doesnt print error.
Actual results
Prints error.