I have a few resources which I want to put into a group, but I keep getting this error when I run:

cibadmin -C -o resources -x test.xml
Call cib_create failed (-47): Update does conform to the DTD in /usr/share/heartbeat/crm.dtd
<null>

test.xml looks like this and works fine WITHOUT the group tags, but fails with that error with them. Originally, I had several more resources in this file, but I've reduced it to one for illustration of what I believe to be the problem. Other resources by themselves, like the IP address that I want to use load fine if I wrap them in <group> tags but every time I include this it fails. It might look familiar as part of the sample DRBD config.


<group id="group1">
<master_slave id="ms-drbd0">
        <meta_attributes id="ma-ms-drbd0">
          <attributes>
            <nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/>
            <nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/>
            <nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/>
            <nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/>
            <nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/>
<nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/>
            <nvpair id="ma-ms-drbd0-7" name="target_role" value="stopped"/>
          </attributes>
        </meta_attributes>
        <primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd">
          <instance_attributes id="ia-drbd0">
           <attributes>
            <nvpair id="ia-drbd0-1" name="drbd_resource" value="drbd0"/>
           </attributes>
          </instance_attributes>
        </primitive>
</master_slave>
</group>

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to