[Linux-HA] Cannot import cib with pacemaker

heartbeat at bartbaars.nl heartbeat at bartbaars.nl
Tue Nov 4 11:47:20 MST 2008


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. I am trying to import this resource:

<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. But it fails:

[root at bartje ~]# 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>
[root at bartje ~]#


What's wrong??

Cheers.

Bart


More information about the Linux-HA mailing list