16.04.2 LTS for Ubuntu, 1.1.14 for pacemaker and 0.9.149 for pcs.
Error when enabling Pacemaker service
# sudo systemctl enable pacemaker
Synchronizing state of pacemaker.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable pacemaker
update-rc.d: error: pacemaker Default-Start contains no runlevels, aborting.
Error when starting the cluster
sudo pcs cluster start --all
mbubuntu1: Starting Cluster...
Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
mbubuntu2: Starting Cluster...
Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
Mar 16 11:13:17 mbubuntu2 systemd[1]: Starting Corosync Cluster Engine...
Mar 16 11:13:17 mbubuntu2 corosync[22052]: parse error in config: Can't open logfile '/var/log/cluster/corosync.log' for reason: No such file or directory (2).
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Main process exited, code=exited, status=7/NOTRUNNING
Mar 16 11:13:17 mbubuntu2 systemd[1]: Failed to start Corosync Cluster Engine.
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Unit entered failed state.
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Failed with result 'exit-code'.
~
16.04.2 LTS for Ubuntu, 1.1.14 for pacemaker and 0.9.149 for pcs.
Error when enabling Pacemaker service
# sudo systemctl enable pacemaker systemd- sysv-install. .. systemd- sysv-install enable pacemaker
Synchronizing state of pacemaker.service with SysV init with /lib/systemd/
Executing /lib/systemd/
update-rc.d: error: pacemaker Default-Start contains no runlevels, aborting.
Error when starting the cluster
sudo pcs cluster start --all
mbubuntu1: Starting Cluster...
Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
mbubuntu2: Starting Cluster...
Job for corosync.service failed because the control process exited with error code. See "systemctl status corosync.service" and "journalctl -xe" for details.
And the output of the log file is:
● corosync.service - Corosync Cluster Engine system/ corosync. service; disabled; vendor preset: enabled) /usr/sbin/ corosync -f $OPTIONS (code=exited, status=7)
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Thu 2017-03-16 11:13:17 PDT; 29s ago
Process: 22052 ExecStart=
Main PID: 22052 (code=exited, status=7)
Mar 16 11:13:17 mbubuntu2 systemd[1]: Starting Corosync Cluster Engine... cluster/ corosync. log' for reason: No such file or directory (2).
Mar 16 11:13:17 mbubuntu2 corosync[22052]: parse error in config: Can't open logfile '/var/log/
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Main process exited, code=exited, status=7/NOTRUNNING
Mar 16 11:13:17 mbubuntu2 systemd[1]: Failed to start Corosync Cluster Engine.
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Unit entered failed state.
Mar 16 11:13:17 mbubuntu2 systemd[1]: corosync.service: Failed with result 'exit-code'.
~
Errors are very easy to repro and consistent