Pacemaker cluster fails to start with corosync.service error: "Corosync Cluster Engine exiting with status 8 at main.c"

Solution Verified - Updated -

Issue

  • pcs cluster start command fails with the corosync.service error :

    # pcs cluster start
    Starting Cluster...
    Error: Unable to start corosync: Job for corosync.service failed because the control process exited with error code.
    See "systemctl status corosync.service" and "journalctl -xe" for details.
    
  • corosync.service is failing to start with errors similar to below :

    systemd[1]: Starting Corosync Cluster Engine...
    corosync[254]:   [MAIN  ] Corosync Cluster Engine 3.1.7 starting up
    corosync[254]:   [MAIN  ] Corosync built-in features: dbus systemd xmlconf vqsim nozzle snmp pie relro bindnow
    corosync[254]:   [MAIN  ] failed to parse node address 'node1.example.com'
    corosync[254]:   [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1417.
    corosync.service: Main process exited, code=exited, status=8/n/a
    corosync.service: Failed with result 'exit-code'.
    systemd[1]: Failed to start Corosync Cluster Engine.
    
    systemd[1]: Starting Corosync Cluster Engine...
    corosync[123]:   [MAIN  ] Corosync Cluster Engine 3.1.8 starting up
    corosync[123]:   [MAIN  ] Corosync built-in features: dbus systemd xmlconf vqsim nozzle snmp pie relro bin>
    corosync[123]:   [MAIN  ] parse error in config: No valid name found for local host
    corosync[123]:   [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1445.
    
    systemd: Starting Corosync Cluster Engine...
    corosync[318393]: [MAIN  ] Corosync Cluster Engine ('2.4.5'): started and ready to provide service.
    corosync[318393]: [MAIN  ] Corosync built-in features: dbus systemd xmlconf qdevices qnetd snmp libcgroup pie relro bindnow
    corosync[318393]: [MAIN  ] parse error in config: No interfaces defined
    corosync[318393]: [MAIN  ] Corosync Cluster Engine exiting with status 8 at main.c:1415.
    corosync: Starting Corosync Cluster Engine (corosync): [FAILED]
    

Environment

  • Red Hat Enterprise Linux 7, 8, 9 (with the High Availability Add-on)

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