[Pacemaker] master_slave not allowed in resources section?

Andrew Beekhof beekhof at gmail.com
Wed Apr 29 07:36:23 UTC 2009


Check the "whats changed" section of the configuration explained pdf:
   http://clusterlabs.org/wiki/Documentation

There were quite a few syntax changes since 0.6

On Wed, Apr 29, 2009 at 01:07, Eliot Gable <egable at broadvox.net> wrote:
> [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
>
>
>
> /root/cib.xml:
>
>
>
> 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>
>
> …SNIP…
>
>
>
> 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">
>
>   <configuration>
>
>     <crm_config>
>
>       <cluster_property_set id="cib-bootstrap-options">
>
>         <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
> value="1.0.3-500802a99452bf9b7440cf78caeb65bacf0d7188"/>
>
> …SNIP…
>
>
>
> Eliot Gable
> Senior Engineer
> 1228 Euclid Ave, Suite 390
> Cleveland, OH 44115
>
> Direct: 216-373-4808
> Fax: 216-373-4657
> egable at broadvox.net
>
> 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.
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>




More information about the Pacemaker mailing list