Is there a list of changes in cib syntax between Pacemaker 0.6 and
0.7? I've just upgraded to 0.7 and now can't make my old cib work. In
0.6 for example I was able to run cibadmin -R -x ip.xml where ip.xml
looks like this:

     <resources>
       <primitive class="ocf" type="IPaddr" provider="heartbeat" id="myIP">
          <instance_attributes id="myIP_attributes">
               <nvpair id="myIP_ip" name="ip" value="192.168.1.130"/>
           </instance_attributes>
           <operations>
             <op id="63460aec-8759-4a35-a41c-0e402d5409a0"
name="monitor" interval="30s" timeout="30s"/>
             <op id="75bb6f39-b41c-4837-8714-9fc2305fa4c0"
name="start" interval="0s" timeout="30s"/>
             <op id="9c694b65-9c32-43d5-8df2-615dd9dbe56e" name="stop"
interval="0s" timeout="30s"/>
           </operations>
         </primitive>
     </resources>

And pacemaker was able to add it. Now in 0.7 I'm getting following error:

$cibadmin -VR -x ip.xml
cibadmin[10714]: 2008/09/08_15:51:26 info: main: Starting mainloop
cibadmin[10714]: 2008/09/08_15:51:28 WARN: cibadmin_op_callback: Call
cib_replace failed (-47): Update does not conform to the configured
schema/DTD
Call cib_replace failed (-47): Update does not conform to the
configured schema/DTD
<null>

And honestly I'm a bit lazy to parse it through DTD.

-- 
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to