The pacemaker service/plugin configuration stanza for the corosync version 2 should be put into the separate file instead of the corosync.conf. And it should contain the "ver: 2", because pacemaker must be running as a separate service with the corosync 2.
The plugin mode "ver: 1" is not supported anymore.
#cat /etc/corosync/service.d/pacemaker
service {
# Load the Pacemaker Cluster Resource Manager (5)
ver: 2
name: pacemaker
}
Another point is that there is should be additional configuration file described for Ubuntu case:
The pacemaker service/plugin configuration stanza for the corosync version 2 should be put into the separate file instead of the corosync.conf. And it should contain the "ver: 2", because pacemaker must be running as a separate service with the corosync 2.
The plugin mode "ver: 1" is not supported anymore.
#cat /etc/corosync/ service. d/pacemaker
service {
# Load the Pacemaker Cluster Resource Manager (5)
ver: 2
name: pacemaker
}
Another point is that there is should be additional configuration file described for Ubuntu case:
# cat /etc/corosync/ uidgid. d/pacemaker
uidgid {
uid: hacluster
gid: haclient
}
This is required in order to make the first start of pacemaker service to go smoothly and w/o issues. See original issue discovered in Fuel project https:/ /bugs.launchpad .net/fuel/ +bug/1493483/ comments/ 8