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_expression
containing one of the following for a rule:yeardays
(for adate_spec
operation)days
(for anin_range
operation with a duration)minutes
(for adate_spec
operation or for anin_range
operation with a duration)seconds
(for adate_spec
operation or for anin_range
operation with a duration)
Error: unable to push cib
Call cib_replace failed (-203): Update does not conform to the configured schema
- The
pcs
command throws an error similar to the one below when attempting to create adate_expression
using 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.