[Pacemaker] cibconfig dtd error

Shravan Mishra shravan.mishra at gmail.com
Mon Jun 13 20:55:32 UTC 2011


Hi all,

I'm trying to define a constraint like this:


cibadmin -o constraints -U -p<<END
<rsc_location id="drbd-master" rsc="ms-drbd">
 <rule id="diskless_constraint_evaluator" score="-INFINITY" role="master"
boolean-op="or">
  <rule id="diskless_constraint_1" boolean-op="and">
<expression id="${node1}_expr_1" value="${node1}" attribute="#uname"
operation="eq"/>
<expression id="${node1}_expr_2" attribute="master-drbd0:0" operation="lt"
value="1000"/>
   <expression id="${node1}_expr3" attribute="master-drbd0:0"
operation="not_defined"/>
 </rule>
  <rule id="diskless_constraint_2" boolean-op="and">
<expression id="${node2}_expr_1" value="${node2}" attribute="#uname"
operation="eq"/>
<expression id="${node2}_expr_2" attribute="master-drbd0:1" operation="lt"
value="1000"/>
        <expression id="${node2}_expr3" attribute="master-drbd0:1"
operation="not_defined"/>
 </rule>
</rsc_location>
END


I'm getting
Call cib_create failed (-47): Update does not conform to the configured
schema/DTD


Is it not possible to define constraints like these ?




Thanks
Shravan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110613/baa6b05e/attachment-0003.html>


More information about the Pacemaker mailing list