Pacemaker throws a schema error when attempting to add a rule date or duration expression
Issue
- Pacemaker throws the error below when I attempt to create a
date_expressioncontaining one of the following for a rule:yeardays(for adate_specoperation)days(for anin_rangeoperation with a duration)minutes(for adate_specoperation or for anin_rangeoperation with a duration)seconds(for adate_specoperation or for anin_rangeoperation with a duration)
Error: unable to push cib
Call cib_replace failed (-203): Update does not conform to the configured schema
- The
pcscommand throws an error similar to the one below when attempting to create adate_expressionusing one of those listed above for a rule.
[root@fastvm-rhel-8-0-23 pacemaker]# pcs constraint location dummy rule score=INFINITY date in_range '2020-07-27 15:00:00' to duration minutes=3
Error: 'date in_range 2020-07-27 15:00:00 to duration minutes=3' is not a valid rule expression: unexpected 'minutes=3' in duration
Environment
- Red Hat Enterprise Linux 6, 7, or 8 (with the High Availability Add-on)
- Pacemaker
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.