[pve-devel] applied: [PATCH cluster v4 0/4] corosync config parser refactoring
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Sep 20 15:24:06 CEST 2017
applied
On Wed, Sep 20, 2017 at 03:11:01PM +0200, Thomas Lamprecht wrote:
> This iteration addresses a problem with older configs where the nodes
> name entry was not guaranteed by us, adds also a test for this
> behaviour to save us from this regressions once nobody of the
> reviewers have such an old cluster around.
>
> I omitted the WIP patches this time, the v3 ones are still OK and
> apply for those who want to test them.
>
> Thomas Lamprecht (4):
> corosync config parser: move to hash format
> corosync: transform config to allow easier access
> corosync: add atomic_write_conf and cleanup
> test: add test for legacy corosync.conf
>
> data/PVE/API2/ClusterConfig.pm | 4 +-
> data/PVE/Corosync.pm | 209 ++++++++-----------------
> data/test/corosync_configs/multiple-nodes.conf | 6 +-
> data/test/corosync_configs/old.conf | 29 ++++
> data/test/corosync_configs/single-node.conf | 6 +-
> 5 files changed, 106 insertions(+), 148 deletions(-)
> create mode 100644 data/test/corosync_configs/old.conf
>
> --
> 2.11.0
More information about the pve-devel
mailing list