[Pacemaker] pacemaker 1.0.2 rsc_defaults section

Eliot Gable egable at broadvox.net
Tue Apr 28 18:16:25 EDT 2009


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

[root at 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
egable at broadvox.net<mailto:egable at broadvox.net>

[cid:image001.gif at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090428/653797c3/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/653797c3/attachment-0002.gif>


More information about the Pacemaker mailing list