Pacemaker is not started and stopped automatically with Corosync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
corosync (Ubuntu) |
Invalid
|
Undecided
|
Louis Bouchard | ||
Trusty |
Invalid
|
Undecided
|
Louis Bouchard |
Bug Description
In Ubuntu 12.04 with:
# dpkg -l |egrep "pacemaker|
ii corosync 1.4.2-2ubuntu0.2 Standards-based cluster framework (daemon and modules)
ii pacemaker 1.1.6-2ubuntu3.3 HA cluster resource manager
When I start corosync, it'll start the pacemaker resources:
# ps aux |egrep "(heartbeat|
root 27043 0.2 0.0 511172 3756 ? Ssl 19:43 0:00 /usr/sbin/corosync
root 27051 0.0 0.0 84716 3124 ? S 19:43 0:00 /usr/lib/
109 27052 0.1 0.1 88768 5856 ? S 19:43 0:00 /usr/lib/
root 27053 0.1 0.0 97432 3256 ? S 19:43 0:00 /usr/lib/
109 27054 0.0 0.0 84756 3364 ? S 19:43 0:00 /usr/lib/
109 27055 0.0 0.0 79040 2872 ? S 19:43 0:00 /usr/lib/
109 27056 0.0 0.0 95476 4028 ? S 19:43 0:00 /usr/lib/
When I stop corosync, it'll stop them as well.
In Ubuntu 14.04 with:
# dpkg -l |egrep "pacemaker|
ii corosync 2.3.3-1ubuntu1 amd64 Standards-based cluster framework (daemon and modules)
ii crmsh 1.2.5+hg1034-
ii libcorosync-common4 2.3.3-1ubuntu1 amd64 Standards-based cluster framework, common library
ii pacemaker 1.1.10+
ii pacemaker-cli-utils 1.1.10+
When I start corosync, it will NOT start the pacemaker resources. I need to start pacemaker manually (service pacemaker start or /etc/init.
This results in nothing working until I figured that out. Yielding errors such as:
---
# crm status
Could not establish cib_ro connection: Connection refused (111)
ERROR: crm_mon exited with code 107 and said: Connection to cluster failed: Transport endpoint is not connected
---
# crm_mon
Attempting connection to the cluster...Could not establish cib_ro connection: Connection refused (111)
---
In my testing, both the precise and trusty releases had Pacemaker in the service.d directory as such:
---
service {
name: pacemaker
ver: 0
}
---
Is this a bug or is it expected that Pacemaker is no longer started and stopped by corosync ?
summary: |
- Pacemaker is not started automatically with Corosync + Pacemaker is not started and stopped automatically with Corosync |
description: | updated |
Changed in corosync (Ubuntu): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in corosync (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in corosync (Ubuntu Trusty): | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Status changed to 'Confirmed' because the bug affects multiple users.