[pve-devel] [RFC corosync-pve 0/5] switch corosync to Debian Stretch packaging
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Mar 10 10:42:42 CET 2017
Tested with upgrade jessie -> stretch with two node cluster, also tested
qdevices configured.
Had just the expected small quorum loss with a duration of < 1 second
when the upgrade process restarted corosync.
PVE 4.4 node and PVE 5.0 (git) node lives happily together, as expected.
So, looks good to me!
On 03/08/2017 02:22 PM, Fabian Grünbichler wrote:
> this patch series would switch the corosync packaging to be based on Debian
> Stretch's. the corosync version itself is identical.
>
> (potential) advantages:
> * libqb, dlm, gfs2-utils, lvm could be dropped / reverted to stock Debian packages
> * nicer systemd service files
> * more modern packaging
>
> keeping the corosync packages themselves under our control allows us to roll out
> future updates on our own, if needed.
>
> Fabian Grünbichler (5):
> switch to Debian corosync package as base
> update sources to 2.4.2-3
> add patches ensuring smooth upgrades from PVE 4.x
> remove old packaging files
> bump version to 2.4.2-pve1
>
> changelog.Debian | 184 +++++++++++++++++++++
> Makefile | 55 +++---
> debian/patches/disable-sched-rr.patch | 71 --------
> .../0001-add-Provides-Replaces-corosync-pve.patch | 41 +++++
> .../0002-don-t-install-default-corosync.conf.patch | 146 ++++++++++++++++
> ...restart-after-package-upgrade-is-complete.patch | 30 ++++
> patches/0004-remove-init-script.patch | 145 ++++++++++++++++
> ...c-pve-postinst-for-restart-on-dist-upgrad.patch | 35 ++++
> corosync-2.4.2.tar.gz | Bin 17485435 -> 15714054 bytes
> debian/changelog | 178 --------------------
> debian/compat | 1 -
> debian/control | 68 --------
> debian/copyright | 66 --------
> debian/corosync-pve.dirs | 3 -
> debian/corosync-pve.docs | 4 -
> debian/corosync-pve.examples | 4 -
> debian/corosync-pve.install | 8 -
> debian/corosync-pve.postinst | 33 ----
> debian/corosync-pve.postrm | 34 ----
> debian/corosync.service | 17 --
> debian/docs | 1 -
> debian/libcorosync-pve-dev.docs | 1 -
> debian/libcorosync-pve-dev.install | 6 -
> debian/libcorosync4-pve.docs | 1 -
> debian/libcorosync4-pve.install | 1 -
> debian/patches/config-path.diff | 86 ----------
> debian/patches/corosync-keygen.diff | 41 -----
> debian/patches/cpg-join-fix.diff | 44 -----
> debian/patches/default-config.diff | 22 ---
> debian/patches/series | 5 -
> debian/rules | 31 ----
> patches/series | 5 +
> 32 files changed, 622 insertions(+), 745 deletions(-)
> create mode 100644 changelog.Debian
> delete mode 100644 debian/patches/disable-sched-rr.patch
> create mode 100644 patches/0001-add-Provides-Replaces-corosync-pve.patch
> create mode 100644 patches/0002-don-t-install-default-corosync.conf.patch
> create mode 100644 patches/0003-restart-after-package-upgrade-is-complete.patch
> create mode 100644 patches/0004-remove-init-script.patch
> create mode 100644 patches/0005-add-corosync-pve-postinst-for-restart-on-dist-upgrad.patch
> delete mode 100644 debian/changelog
> delete mode 100644 debian/compat
> delete mode 100644 debian/control
> delete mode 100644 debian/copyright
> delete mode 100644 debian/corosync-pve.dirs
> delete mode 100644 debian/corosync-pve.docs
> delete mode 100644 debian/corosync-pve.examples
> delete mode 100644 debian/corosync-pve.install
> delete mode 100644 debian/corosync-pve.postinst
> delete mode 100644 debian/corosync-pve.postrm
> delete mode 100644 debian/corosync.service
> delete mode 100644 debian/docs
> delete mode 100644 debian/libcorosync-pve-dev.docs
> delete mode 100644 debian/libcorosync-pve-dev.install
> delete mode 100644 debian/libcorosync4-pve.docs
> delete mode 100644 debian/libcorosync4-pve.install
> delete mode 100644 debian/patches/config-path.diff
> delete mode 100644 debian/patches/corosync-keygen.diff
> delete mode 100644 debian/patches/cpg-join-fix.diff
> delete mode 100644 debian/patches/default-config.diff
> delete mode 100644 debian/patches/series
> delete mode 100755 debian/rules
> create mode 100644 patches/series
>
More information about the pve-devel
mailing list