[ClusterLabs] RHEL 6.4 - CIB did not pass DTD/schema validation

Marcio Vitor marciovitormatos at gmail.com
Thu Apr 23 04:34:47 EDT 2015


Hi Guys,

I"m facing a frustracting issue while trying to setup a new CMAN Corosync
Pacemaker installation.

I'm following the RHEL quickstart and when I try to disable stonith I
cannot acceess the cib [1].   I tried to run the verify and I got a message
saying that the 'CIB did not pass DTD/schema validation' [2]. Then I tried
to edit attribute validate-with .  No success yet [3].

I see no errors on /var/log/pacemaker.log  and corosync.log.

Does anyone has any advice ? Any tip is welcome. I'm an Oracle DBA trying
to setup a MySQL DRBD Cluster during weeks in a server without access to
the internet and that has not been a easy task so far. Selinux and iptables
are disabled

PS: Before I face this issue I was facing issues with the cib configuration
schema (Update does not conform to the configured schema)  [4]. I followed
an advice from #clusterlabs irc channel and moved out
/usr/share/pacemaker/pacemaker-2.3.rng. That allowed to start Pacemaker
without errors.

I'm using below packages:
[root at server1 cib]# rpm -qa | grep pacemaker
pacemaker-cts-1.1.12-4.el6.x86_64
pacemaker-cluster-libs-1.1.12-4.el6.x86_64
pacemaker-1.1.12-4.el6.x86_64
pacemaker-libs-1.1.12-4.el6.x86_64
pacemaker-cli-1.1.12-4.el6.x86_64
pacemaker-remote-1.1.12-4.el6.x86_64
root at server1 cib]# rpm -qa | grep crm
crmsh-test-2.1-1.2.x86_64
crmsh-2.1-1.2.x86_64
[root at server1 cib]# rpm -qa | grep cman
cman-3.0.12.1-68.el6.x86_64
root at server1 cib]# rpm -qa | grep corosync
corosync-1.4.7-1.el6.x86_64
corosynclib-devel-1.4.7-1.el6.x86_64
corosynclib-1.4.7-1.el6.x86_64

Sorry If I miss something I'm working on this for many many hours.


[1]
[root at server1 Redhat repo]# pcs property set stonith-enabled=false
Apr 23 02:30:44 server1 pengine[10896]:   notice: crm_add_logfile:
Additional logging available in /var/log/pacemaker.log
Apr 23 02:30:44 server1 cibadmin[10898]:   notice: crm_log_args: Invoked:
/usr/sbin/cibadmin --replace -o configuration -V --xml-pipe

Error: Unable to update cib
Call cib_replace failed (-62): Timer expired

[2]
[root at server1 Redhat repo]# crm_verify --live-check -V
Apr 23 02:33:21 server1 crm_verify[10905]:   notice: crm_log_args: Invoked:
crm_verify --live-check -V
element cib: Relax-NG validity error : Invalid attribute validate-with for
element cib
   error: main:         CIB did not pass DTD/schema validation
Errors found during check: config not valid
Apr 23 02:33:21 server1 crm_verify[10905]:    error: main: CIB did not pass
DTD/schema validation
[3]
[root at server1 Redhat repo]# cibadmin -R -x my.cib
cat my.cib
Call cib_replace failed (-62): Timer expired
[root at server1 Redhat repo]# cat my.cib
<cib crm_feature_set="3.0.9" validate-with="pacemaker-2.0" epoch="3"
num_updates="5" admin_epoch="0" cib-last-written="Wed Apr 22 19:26:35 2015"
have-quorum="0" dc-uuid="server1">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
value="1.1.11-97629de"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure"
name="cluster-infrastructure" value="cman"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="server1" uname="server1"/>
      <node id="server2" uname="server2"/>
    </nodes>
    <resources/>
    <constraints/>
  </configuration>
  <status>
    <node_state id="server1" uname="server1" in_ccm="true" crmd="online"
crm-debug-origin="do_state_transition" join="member" expected="member">
      <lrm id="server1">
        <lrm_resources/>
      </lrm>
      <transient_attributes id="server1">
        <instance_attributes id="status-server1">
          <nvpair id="status-server1-shutdown" name="shutdown" value="0"/>
          <nvpair id="status-server1-probe_complete" name="probe_complete"
value="true"/>
        </instance_attributes>
      </transient_attributes>
    </node_state>
  </status>
[4]
Error performing operation: Update does not conform to the configured schema
Apr 23 03:13:43 server1 cib[11920]:    error: cib_process_request:
Operation ignored, cluster configuration is invalid. Please repair and
restart: Update does not conform to the configured schema
Apr 23 03:13:43 server1 cib[11920]:    error: cib_process_request:
Operation ignored, cluster configuration is invalid. Please repair and
restart: Update does not conform to the configured schema
Apr 23 03:13:43 server1 cib[11920]:    error: cib_process_request:
Operation ignored, cluster configuration is invalid. Please repair and
restart: Update does not conform to the configured schema
Apr 23 03:13:43 server1 cib[11920]:    error: cib_process_request:
Operation ignored, cluster configuration is invalid. Please repair and
restart: Update does not conform to the configured schema
Apr 23 03:13:43 server1 cib[11920]:    error: cib_process_request:
Operation ignored, cluster configuration is invalid. Please repair and
restart: Update does not conform to the configured schema
Could not map name=server1 to a UUID
Apr 23 03:13:43 server1 pacemaker: Waiting for shutdown of managed resources
Waiting for shutdown of managed resourcesApr 23 03:13:43 server1
cib[11920]:    error: cib_process_request: Operation ignored, cluster
configuration is invalid. Please repair and restart: Update does not
conform to the configured schema
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150423/7ad47056/attachment-0002.html>


More information about the Users mailing list