[ClusterLabs] CIB configuration: role with many expressions - error 203

Radoslaw Garbacz radoslaw.garbacz at xtremedatainc.com
Tue Mar 21 12:20:07 EDT 2017


Hi,

I have a problem when creating rules with many expressions:

     <rsc_location id="nodes_dbx_first_head" rsc="dbx_first_head">
        <rule score="INFINITY" id="on_nodes_dbx_first_head"
boolean-op="and">
          <expression attribute="STATE" operation="eq" type="string"
id="on_nodes_dbx_first_head-expr" value="Active"/>
          <expression attribute="ROLE" operation="eq" type="string"
id="on_nodes_dbx_first_head-expr" value="AH"/>
        </rule>
      </rsc_location>

Result:
Call cib_replace failed (-203): Update does not conform to the configured
schema

Everything works when I remove "boolean-op" attribute and leave only one
expression.
What do I do wrong when creating rules?


Pacemaker 1.1.16-1.el6
Written by Andrew Beekhof


Thank in advance for any help,

-- 
Best Regards,

Radoslaw Garbacz
XtremeData Incorporated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170321/65b96eb9/attachment-0002.html>


More information about the Users mailing list