[Pacemaker] Pacemaker initial setup problem

Marcin Kwiatkowski marcik4 at gmail.com
Wed Dec 9 10:31:19 UTC 2009


Hello

I'm trying to setup an simple pacemaker cluster on gentoo (using my own custom 
ebuilds) but when i start it i get tons of errors when i start corosync - 
here's log:

http://paste-it.net/public/d1dccc4/

File /usr/share/pacemaker/pacemaker-1.0.rng exist and is readable by all.

I get similar errors from crm_verify -L -V:

/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/nvset-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-nvset
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/resources-1.0.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-resources
/usr/share/pacemaker/resources-1.0.rng:41: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-operations
/usr/share/pacemaker/constraints-1.0.rng:5: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-constraints
/usr/share/pacemaker/resources-1.0.rng:12: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-group
/usr/share/pacemaker/constraints-1.0.rng:45: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference attribute-
actions
/usr/share/pacemaker/constraints-1.0.rng:79: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference element-
resource-set
/usr/share/pacemaker/resources-1.0.rng:14: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-master
/usr/share/pacemaker/rule-1.0.rng:75: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference date-common
/usr/share/pacemaker/nvset-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-nvset
/usr/share/pacemaker/resources-1.0.rng:13: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-clone
/usr/share/pacemaker/constraints-1.0.rng:12: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference element-
colocation
/usr/share/pacemaker/constraints-1.0.rng:13: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference element-order
/usr/share/pacemaker/resources-1.0.rng:11: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-primitive
/usr/share/pacemaker/resources-1.0.rng:40: element ref: Relax-NG parser error 
: Internal error: reference has content in CheckReference element-resource-
extra
/usr/share/pacemaker/constraints-1.0.rng:32: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference element-
lifetime
/usr/share/pacemaker/constraints-1.0.rng:50: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference attribute-
roles
/usr/share/pacemaker/rule-1.0.rng:6: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference element-rule
/usr/share/pacemaker/score.rng:5: element ref: Relax-NG parser error : 
Internal error: reference has content in CheckReference attribute-score
/usr/share/pacemaker/constraints-1.0.rng:11: element ref: Relax-NG parser 
error : Internal error: reference has content in CheckReference element-
location
crm_verify[32733]: 2009/12/09_11:26:58 ERROR: crm_abort: 
validate_with_relaxng: Triggered assert at xml.c:2215 : rng != NULL
crm_verify[32733]: 2009/12/09_11:26:58 ERROR: validate_with_relaxng: Could not 
find/parse /usr/share/pacemaker/pacemaker-1.0.rng
crm_verify[32733]: 2009/12/09_11:26:58 ERROR: unpack_resources: Resource 
start-up disabled since no STONITH resources have been defined
crm_verify[32733]: 2009/12/09_11:26:58 ERROR: unpack_resources: Either 
configure some or disable STONITH with the stonith-enabled option
crm_verify[32733]: 2009/12/09_11:26:58 ERROR: unpack_resources: NOTE: Clusters 
with shared data need STONITH to ensure data integrity
Errors found during check: config not valid

Here's my /var/lib/heartbeat/crm/cib.xml (i didn't edit it):

<cib epoch="23" admin_epoch="0" validate-with="pacemaker-1.0" 
crm_feature_set="3.0.1" have-quorum="1" dc-uuid="bajkonur" num_updates="0" 
cib-last-written="Wed Dec  9 11:24:40 2009">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" 
value="1.0.6-73a6626a39bd4586fb555404a79fc21ce8228d8b"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" 
name="cluster-infrastructure" value="openais"/>
        <nvpair id="cib-bootstrap-options-expected-quorum-votes" 
name="expected-quorum-votes" value="3"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="bajkonur" uname="bajkonur" type="normal"/>
      <node id="internal3" uname="internal3" type="normal"/>
      <node id="internal4" uname="internal4" type="normal"/>
    </nodes>
    <resources/>
    <constraints/>
  </configuration>
</cib>

I have:
cluster-glue-1.0
resource-agents-1.0_p20090902
corosync-1.1.2
openais-1.1.1
pacemaker-1.0.6

Any idea what may be wrong?

Bye,
-- 
Marcin Kwiatkowski




More information about the Pacemaker mailing list