Pacemaker does not seem to like rsc_defaults:

Apr 28 21:46:50 xxxxxxx cib: [3491]: ERROR: Extra element rsc_defaults in 
interleave
Apr 28 21:46:50 xxxxxxx cib: [3491]: ERROR: Element configuration failed to 
validate content
Apr 28 21:46:50 xxxxxxx cib: [3491]: ERROR: Element cib failed to validate 
content
Apr 28 21:46:50 xxxxxxx cib: [3491]: ERROR: readCibXmlFile: CIB does not 
validate with pacemaker-1.0

[r...@xxxxx ~]# crm_verify -V -x cib.xml
Relax-NG validity error : Extra element rsc_defaults in interleave
cib.xml:10: element rsc_defaults: Relax-NG validity error : Element 
configuration failed to validate content
cib.xml:3: element cib: Relax-NG validity error : Element cib failed to 
validate content
crm_verify[3407]: 2009/04/28_22:07:05 ERROR: main: CIB did not pass DTD/schema 
validation
Errors found during check: config not valid

cib.xml:

<?xml version="1.0"?>
<!DOCTYPE cib SYSTEM "crm-1.0.dtd">
<cib generated="true" admin_epoch="0" epoch="0" num_updates="0" 
have-quorum="false" validate-with="pacemaker-1.0">
  <configuration>
    <crm_config>
      <cluster_property_set id="crm_config_prop-cluster-recheck">
        <nvpair id="option-1" name="cluster-recheck-interval" value="15m"/>
      </cluster_property_set>
    </crm_config>
    <rsc_defaults>
      <meta_attributes id="off-hours" score="2">
        <rule id="off-hour-rule">
          <date_expression id="1amTO6am" operation="date_spec">
            <date_spec hours="3-6" days="1-7"/>
          </date_expression>
        </rule>
        <nvpair id="off-stickiness" name="resource-stickiness" value="0"/>
      </meta_attributes>
      <meta_attributes id="core-hours" score="1">
        <nvpair id="core-stickiness" name="resource-stickiness" 
value="INFINITY"/>
      </meta_attributes>
    </rsc_defaults>
...snip...


Any suggestions?

Thanks in advance for the assistance.

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

Direct: 216-373-4808
Fax: 216-373-4657
ega...@broadvox.net<mailto:ega...@broadvox.net>

[cid:image001.gif@01C9C82C.A9D34000]
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.

<<inline: image001.gif>>

_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to