Pacemaker cluster report errors reading/parsing `/var/lib/pacemaker/cib/cib.xml`

Solution Verified - Updated -

Issue

  • Below messages are observed in the /var/log/cluster/corosync.log when cluster is started on node

    cib:    error: crm_is_writable:   /var/lib/pacemaker/cib/cib.xml must be owned and r/w by user hacluster
    cib:    error: crm_xml_err:       XML Error: Permission deniedPermission deniedI/O warning : failed to load external entity "/var/lib/pacemaker/cib/cib.xml"
    cib:    error: filename2xml:      Couldn't parse /var/lib/pacemaker/cib/cib.xml
    cib:  warning: cib_file_read_and_verify:  Cluster configuration file /var/lib/pacemaker/cib/cib.xml is corrupt (unparseable as XML)
    cib:  warning: retrieveCib:       Continuing but /var/lib/pacemaker/cib/cib.xml will NOT be used.
    cib:  warning: readCibXmlFile:    Continuing with an empty configuration.
    
  • After full cluster restart there are no configured resources in the cluster

  • File /var/lib/pacemaker/cib/cib.xml is not in sync with other nodes in cluster when cluster is up and running

Environment

  • Red Hat Enterprise Linux 7 with High-Availability or Resilient Storage Add-on
  • pacemaker cluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content