* Dropped: debian/patches/pacemaker_is_partof_corosync.patch:
Default systemd unit hard-requires corosync:
Debian disagrees in Debian bug 887563 message 36. We could revert
back to Debian's behaviour, but keeping the patch in this merge
maintains existing behaviour for Ubuntu users pending any separate
future decision.
[Update - Rafael David Tinoco]
- The patch still had a message saying it would be "forwaded in the
future", but there was still an on-going discussion with HA
maintainers.
- I do agree with Debian HA maintainer, that pacemaker service should
not, ever, try to continue operating if the message layer is gone.
- The excuse that, in an upgrade event, the resource would not migrate
and/or the node would not be fenced because pacemaker would be
restarted by postrm/postinst right after the upgrade is weak,
because the totem protocol is not designed to handle all ring
networks being lost, which will happen when corosync is stopped (it
does not matter if for a short period of time).
- PLUS, a HA cluster node should *NOT* ever be upgraded with active
resources on it: one can put the cluster into "Standby Mode" and
force the migration of all services to other nodes, or put the
entire cluster in "Maintenance Mode" and make resource agents not
to try to manage the services anymore (so you can keep them active
in one node, for example).
- Message #41 in Debian Bug explicitly explains what was the real
problem:
"""
I have to make a correction here. The problem is not that Pacemaker
is stopped when Corosync is upgraded, but that Pacemaker is not
started after the Corosync upgrade is complete. So the old prerm
stopping Corosync is not a problem: the new postinst will *restart*
Corosync (even though it's stopped already), and the restart
operation does start Pacemaker again. A simple start operation does
not, but a restart does. I haven't decided yet whether this is a
systemd bug, a quirk or a feature.
"""
- And it was fixed in commit bellow, closing #887563:
"""
commit e44e00f7
Author: Ferenc Wágner <email address hidden>
Date: Tue Apr 24 09:31:32 2018
--restart-after-upgrade instead of stop in prerm and start in
postinst
"""
Import patches-unapplied version 2.0.3-3 to debian/sid
Imported using git-ubuntu import.
Changelog parent: 1a9333c2293e2fd24a827eb9747cf790c3147c0f
New changelog entries:
* [543574f] Omit pacemaker{, -cli-utils, -remote} on Ubuntu/i386
(Closes: #948379)
* [327889e] Reenable dwz, it already works with the magic sections from libqb