[Pacemaker] Newbie - problem creating rsc_order constraint
Joe Armstrong
jarmstrong at postpath.com
Wed May 13 12:59:08 EDT 2009
I am getting the following error from crm_verify:
new.xml:24: element rsc_order: Relax-NG validity error : Expecting an element resource_set, got nothing
new.xml:24: element rsc_order: Relax-NG validity error : Element rsc_order failed to validate content
new.xml:24: element rsc_order: Relax-NG validity error : Element constraints has extra content: rsc_order
new.xml:2: element configuration: Relax-NG validity error : Invalid sequence in interleave
new.xml:2: element configuration: Relax-NG validity error : Element configuration failed to validate content
new.xml:1: element cib: Relax-NG validity error : Element cib failed to validate content
crm_verify[15998]: 2009/05/13_09:53:36 ERROR: main: CIB did not pass DTD/schema validation
Errors found during check: config not valid
My config is very simple:
<cib validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" admin_epoch="0" epoch="19" num_updates="11" cib-last-written="Wed May 13 07:51:56 2009" dc-uuid="ff29bf8a-9ab6-423f-8002-b74a03b1f1d2">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.3-b133b3f19797c00f9189f4b66b513963f9d25db9"/>
</cluster_property_set>
</crm_config>
<nodes>
<node id="ff29bf8a-9ab6-423f-8002-b74a03b1f1d2" uname="vm2.jarmsdt.postpath.com" type="normal"/>
<node id="f2dd7f3e-026c-4ba8-8694-786360cfd602" uname="vm1.jarmsdt.postpath.com" type="normal"/>
</nodes>
<resources>
<primitive id="http-1" class="ocf" provider="heartbeat" type="apache"/>
<primitive id="http-ip-1" class="ocf" provider="heartbeat" type="IPaddr">
<instance_attributes id="ip-1">
<nvpair id="nv013" name="ip" value="10.200.76.188"/>
<nvpair id="nv014" name="device" value="auto"/>
<nvpair id="nv015" name="netmask" value="255.255.255.0"/>
<nvpair id="nv016" name="broadcast" value="10.200.76.255"/>
</instance_attributes>
</primitive>
</resources>
<constraints>
<rsc_order id="http-order" from="http-1" to="http-ip-1" score="10" />
</constraints/>
</configuration>
</cib>
I have installed the following:
/RPMs/heartbeat-2.99.2-8.1.x86_64.rpm /RPMs/openais-0.80.5-13.1.x86_64.rpm
/RPMs/heartbeat-common-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-1.0.3-2.2.x86_64.rpm
/RPMs/heartbeat-resources-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-mgmt-1.99.1-2.1.x86_64.rpm
/RPMs/libheartbeat2-2.99.2-8.1.x86_64.rpm /RPMs/pacemaker-mgmt-client-1.99.1-2.1.x86_64.rpm
/RPMs/libopenais2-0.80.5-13.1.x86_64.rpm /RPMs/python-lxml-1.3.4-1.el5.rf.x86_64.rpm
/RPMs/libpacemaker3-1.0.3-2.2.x86_64.rpm
I have looked over the crm.dtd file and don't see any mention of the resource_set element so I don't know what it is or what to do with it.
Thanks for any hints.
Joe
More information about the Pacemaker
mailing list