Pacemaker throws a schema error when attempting to add a rule date or duration expression

Solution In Progress - Updated -

Issue

  • Pacemaker throws the error below when I attempt to create a date_expression containing one of the following for a rule:
    • yeardays (for a date_spec operation)
    • days (for an in_range operation with a duration)
    • minutes (for a date_spec operation or for an in_range operation with a duration)
    • seconds (for a date_spec operation or for an in_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 a date_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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In