[ClusterLabs] RHEL 6.4 - CIB did not pass DTD/schema validation
andrew at beekhof.net
Sun Apr 26 16:48:19 EDT 2015
> On 23 Apr 2015, at 6:34 pm, Marcio Vitor <marciovitormatos at gmail.com> wrote:
> 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 . I tried to run the verify and I got a message saying that the 'CIB did not pass DTD/schema validation' . Then I tried to edit attribute validate-with . No success yet .
> 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) . 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
> root at server1 cib]# rpm -qa | grep crm
> [root at server1 cib]# rpm -qa | grep cman
> root at server1 cib]# rpm -qa | grep corosync
> Sorry If I miss something I'm working on this for many many hours.
> [root at server1 Redhat repo]# pcs property set stonith-enabled=false
> Apr 23 02:30:44 server1 pengine: notice: crm_add_logfile: Additional logging available in /var/log/pacemaker.log
> Apr 23 02:30:44 server1 cibadmin: 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
I will certainly concede that "Timer expired” isn’t a very helpful error, however based on:
Apr 23 03:13:43 server1 cib: error: cib_process_request: Operation ignored, cluster configuration is invalid. Please repair and restart: Update does not conform to the configured schema
I can say that you are getting it because the _current_ contents is invalid.
What does /var/lib/pacemaker/cib/cib.xml 'cibadmin -Ql’ show?
More information about the Users