[Pacemaker] master_slave not allowed in resources section?

Eliot Gable egable at broadvox.net
Tue Apr 28 19:07:43 EDT 2009

[root at xxxxxxx ~]# crm_verify -V -x /root/cib.xml
/root/cib.xml:15: element master_slave: Relax-NG validity error : Did not expect element master_slave there
/root/cib.xml:15: element master_slave: Relax-NG validity error : Element resources has extra content: master_slave
/root/cib.xml:4: element configuration: Relax-NG validity error : Invalid sequence in interleave
/root/cib.xml:4: element configuration: Relax-NG validity error : Element configuration failed to validate content
/root/cib.xml:3: element cib: Relax-NG validity error : Element cib failed to validate content
crm_verify[3458]: 2009/04/28_22:28:04 ERROR: main: CIB did not pass DTD/schema validation
Errors found during check: config not valid


1 <?xml version="1.0"?>
2 <!DOCTYPE cib SYSTEM "crm-1.0.dtd">
3 <cib generated="false" admin_epoch="0" epoch="0" num_updates="0" have-quorum="false" validate-with="pacemaker-1.0">
4   <configuration>
5     <crm_config>
6       <cluster_property_set id="crm_config_prop-cluster-recheck">
7         <nvpair id="option-1" name="cluster-recheck-interval" value="15m"/>
8       </cluster_property_set>
9     </crm_config>
10     <nodes>
11       <node uname="xxxxxxx" type="normal" id="eee302a9-7e0f-44a2-b440-114f5df4fc7f"/>
12       <node uname="xxxxxxx" type="normal" id="18e653ec-18ba-49f5-aa3d-ff03f28a8a02"/>
13     </nodes>
14     <resources>
15       <master_slave id="fs-master-ips">
16         <meta_attributes id="meta-fs-master-ips">
17           <nvpair id="fs-master-ips-priority" name="priority" value="999"/>
18           <nvpair id="fs-master-ips-active" name="is-managed" value="true"/>
19         </meta_attributes>

Am I missing something? Everywhere I look shows <master_slave/> inside <resources/>:

<!ELEMENT resources   (primitive|group|clone|master_slave)*>

The live CIB reports this for version:

<cib epoch="10" num_updates="1" admin_epoch="0" validate-with="pacemaker-1.0" crm_feature_set="3.0.1" have-quorum="1" dc-uuid="18e653ec-18ba-49f5-aa3d-ff03f28a8a02">
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.3-500802a99452bf9b7440cf78caeb65bacf0d7188"/>

Eliot Gable
Senior Engineer
1228 Euclid Ave, Suite 390
Cleveland, OH 44115

Direct: 216-373-4808
Fax: 216-373-4657
egable at broadvox.net<mailto:egable at broadvox.net>

[cid:image001.gif at 01C9C833.29531D90]
CONFIDENTIAL COMMUNICATION.  This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, please call me immediately.  BROADVOX is a registered trademark of Broadvox, LLC.

CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090428/56214418/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2308 bytes
Desc: image001.gif
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090428/56214418/attachment-0002.gif>

More information about the Pacemaker mailing list