On Tue, Nov 4, 2008 at 19:47,  <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Just upgraded to Heartbeat 2.99.2-3.1 and Pacemaker 1.0.0-4.1 running on 
> CentOS 5.2.
>
> I haven't got any resources defined yet, so my cib only contains the node 
> entries.

and the attribute with says how to validate it (validate-with)

> I am trying to import this resource:

You'd have been better off doing a rolling upgrade which would have
handled the syntax changes automatically

> <resources>
>  <primitive class="ocf" id="privip" provider="heartbeat" type="IPaddr">
>    <operations>
>      <op id="op_1" interval="5s" name="monitor" timeout="5s"/>
>    </operations>
>    <instance_attributes id="ia_privip">
>      <attributes>
>        <nvpair id="nv_privip" name="ip" value="192.168.0.6"/>
>      </attributes>
>    </instance_attributes>
>  </primitive>
> </resources>
>
> which validates fine with my XML-editor.

Is the editor doing schema validation against pacemaker.rng?

> But it fails:
>
> [EMAIL PROTECTED] ~]# cibadmin -V -V -V -V --cib_replace --xml-file tmp.xml
> cibadmin[2730]: 2008/11/04_19:46:16 info: main: Starting mainloop
> cibadmin[2730]: 2008/11/04_19:46:17 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>
> [EMAIL PROTECTED] ~]#
>
>
> What's wrong??

The fragment does not conform to the new syntax.
Do you have a copy of the complete cib from your old cluster?  Try
loading that instead.

>
> Cheers.
>
> Bart
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to