>>> Ken Gaillot <kgail...@redhat.com> schrieb am 22.03.2017 um 00:18 in 
>>> Nachricht
<94b7e5fd-cb65-4775-71df-ca8983629...@redhat.com>:
> On 03/21/2017 11:20 AM, Radoslaw Garbacz wrote:
>> 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?
> 
> boolean_op
> 
> Underbar not dash :-)

Good spotting, but I think a more useful error message would be desired ;-)

> 
>> 
>> 
>> Pacemaker 1.1.16-1.el6
>> Written by Andrew Beekhof
>> 
>> 
>> Thank in advance for any help,
>> 
>> -- 
>> Best Regards,
>> 
>> Radoslaw Garbacz
>> XtremeData Incorporated
> 
> _______________________________________________
> Users mailing list: Users@clusterlabs.org 
> http://lists.clusterlabs.org/mailman/listinfo/users 
> 
> Project Home: http://www.clusterlabs.org 
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
> Bugs: http://bugs.clusterlabs.org 





_______________________________________________
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to