pacemaker should have a binary version dependency on pacemaker libs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hacluster (Juju Charms Collection) |
Fix Released
|
High
|
Edward Hope-Morley | ||
pacemaker (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Utopic |
Fix Released
|
Medium
|
Unassigned | ||
Vivid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04
If system is running with pacemaker from the archive:
$ dpkg -l | grep 1.1.10+
ii libcib3 1.1.10+
ii libcrmcluster4 1.1.10+
ii libcrmcommon3 1.1.10+
ii libcrmservice1 1.1.10+
ii liblrmd1 1.1.10+
ii libpe-rules2 1.1.10+
ii libpe-status4 1.1.10+
ii libpengine4 1.1.10+
ii libstonithd2 1.1.10+
ii libtransitioner2 1.1.10+
ii pacemaker 1.1.10+
ii pacemaker-cli-utils 1.1.10+
$ sudo crm status
Last updated: Sat Oct 18 20:52:32 2014
Last change: Sat Oct 18 20:51:28 2014 via crmd on saturn
Stack: corosync
Current DC: saturn (2130706433) - partition with quorum
Version: 1.1.10-42f2063
1 Nodes configured
0 Resources configured
Online: [ saturn ]
And then one installs pacemaker (which pulls in pacemaker from -security):
$ sudo apt-get install pacemaker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libccrtp0 libdbus-c++-1-0 libucommon6 libyate5.0.0 libzrtpcpp2
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
pacemaker
1 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
Need to get 364 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Fetched 364 kB in 1s (197 kB/s)
(Reading database ... 638230 files and directories currently installed.)
Preparing to unpack .../pacemaker_
Unpacking pacemaker (1.1.10+
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up pacemaker (1.1.10+
addgroup: The group `haclient' already exists as a system group. Exiting.
Warning: The home dir /var/lib/heartbeat you specified already exists.
The system user `hacluster' already exists. Exiting.
Restarting pacemaker results in havoc:
$ sudo /etc/init.
Signaling Pacemaker Cluster Manager to terminate: [ OK ]
Waiting for cluster services to unload:^[[A.[ OK ]
$ sudo /etc/init.
Starting Pacemaker Cluster Manager: [ OK ]
$ sudo crm status
Last updated: Sat Oct 18 20:54:03 2014
Last change: Sat Oct 18 20:51:28 2014 via crmd on saturn
Stack: corosync
Current DC: NONE
1 Nodes configured
0 Resources configured
Node saturn (2130706433): UNCLEAN (offline)
From the syslog:
Oct 18 20:54:16 saturn crmd[23424]: warning: do_lrm_control: Failed to sign on to the LRM 2 (30 max) times
Oct 18 20:54:16 saturn crmd[23424]: warning: do_lrm_control: Failed to sign on to the LRM 3 (30 max) times
Oct 18 20:54:16 saturn crmd[23424]: warning: do_lrm_control: Failed to sign on to the LRM 4 (30 max) times
This is because pacemaker package depends on wrong library versions:
Package: pacemaker
Priority: optional
Section: admin
Installed-Size: 1564
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: amd64
Version: 1.1.10+
Replaces: pacemaker-
Depends: libc6 (>= 2.14), libcfg6 (>= 2.3.0), libcib3 (>= 1.1.10+
Conflicts: pacemaker-
If now one updates libraries:
$ sudo apt-get install libcib3=
And restarts pacemaker:
$ sudo /etc/init.
Signaling Pacemaker Cluster Manager to terminate: [ OK ]
Waiting for cluster services to unload:[ OK ]
$ sudo /etc/init.
Starting Pacemaker Cluster Manager: [ OK ]
Cluster eventually resolves the problem:
$ sudo crm status
Last updated: Sat Oct 18 20:58:21 2014
Last change: Sat Oct 18 20:55:48 2014 via crmd on saturn
Stack: corosync
Current DC: saturn (2130706433) - partition with quorum
Version: 1.1.10-42f2063
1 Nodes configured
0 Resources configured
Online: [ saturn ]
And error messages from syslog are gone.
Pacemaker binary package should always depend on exact version of libraries its using.
Related branches
- Billy Olsen: Approve
- Jorge Niedbalski (community): Approve
-
Diff: 24 lines (+5/-2)1 file modifiedhooks/hooks.py (+5/-2)
tags: | added: cts |
description: | updated |
Changed in pacemaker (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in pacemaker (Ubuntu Trusty): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
Changed in pacemaker (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (inaddy) |
Changed in pacemaker (Ubuntu): | |
status: | New → In Progress |
Changed in pacemaker (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in hacluster (Juju Charms Collection): | |
assignee: | nobody → Edward Hope-Morley (hopem) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in hacluster (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in pacemaker (Ubuntu Trusty): | |
assignee: | Rafael David Tinoco (inaddy) → nobody |
Changed in pacemaker (Ubuntu Vivid): | |
assignee: | Rafael David Tinoco (inaddy) → nobody |
Changed in hacluster (Juju Charms Collection): | |
milestone: | none → 15.01 |
status: | Fix Committed → Fix Released |
Thanks Ante. Though this is a regular update, not a security one.