Hi,

calling command cibadmin to create resource constraints in a CIB, the following 
problem occurred:

if file constraints.xml (containing xml snippets) contains more than one 
constraint definition, for example:

<constraints>
  <rsc_order id="MONITOR_orderconstraints-01"  first="fs-clone" 
score="INFINITY" then="MONITOR"/>
  <rsc_order id="MONITOR_orderconstraints-02"  first="GSstart" score="INFINITY" 
then="MONITOR"/>
</constraints>

or only

<rsc_order id="MONITOR_orderconstraints-01"  first="fs-clone" score="INFINITY" 
then="MONITOR"/>
<rsc_order id="MONITOR_orderconstraints-02"  first="GSstart" score="INFINITY" 
then="MONITOR"/>,

command cibadmin -C -o constraints -x constraints.xml  updates cluster 
information base (CIB) with both constraints.
But, command cibadmin -D -o constraints -x constraints.xml only deletes first 
of the constraints defined within constraints.xml, second constraint remains in 
CIB.

If only a single constraint definition is given, everything works well.

Regards,
Armin



_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to