Public bug reported:
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.
And the output of the log file is:
● corosync.service - Corosync Cluster Engine
Loaded: loaded (/lib/systemd/system/corosync.service; disabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Thu 2017-03-16 11:13:17 PDT; 29s ago
Process: 22052 ExecStart=/usr/sbin/corosync -f $OPTIONS (code=exited,
status=7)
Main PID: 22052 (code=exited, status=7)
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'.
~
Errors are very easy to repro and consistent
** Affects: ubuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1673579
Title:
Corosync/Pacemaker: Error when enabling Pacemaker service,Error when
starting the cluster
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1673579/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs