commit 567e54d87c55f945f222a9ebbe2e9bfc1984ce5e
Author: Billy Olsen <email address hidden>
Date: Wed Mar 16 06:50:28 2022 -0700
Render corosync.conf file prior to pkg install
Starting in focal, the ubuntu version of corosync package synced in from
debian includes node1 as the default name for the local node with a nodeid
of 1. This causes the cluster to have knowledge of this extra node1 node,
which affects quorum, etc. Installing the charm's corosync.conf file
before package installation prevents this conditioning from happening.
Additionally this change removes some Xenial bits in the charm and always
includes a nodelist in corosync.conf as it is compulsory in focal and
newer. It is optional in the bionic packages, so we'll always just
render the nodelist.
Change-Id: I06b9c23eb57274f0c99a3a05979c0cabf87c8118
Closes-Bug: #1874719
(cherry picked from commit d1191dbcabdfd8684a86825f06c6ede266ba93ba)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- hacluster/ +/841587 /opendev. org/openstack/ charm-hacluster /commit/ 567e54d87c55f94 5f222a9ebbe2e9b fc1984ce5e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/focal
commit 567e54d87c55f94 5f222a9ebbe2e9b fc1984ce5e
Author: Billy Olsen <email address hidden>
Date: Wed Mar 16 06:50:28 2022 -0700
Render corosync.conf file prior to pkg install
Starting in focal, the ubuntu version of corosync package synced in from
debian includes node1 as the default name for the local node with a nodeid
of 1. This causes the cluster to have knowledge of this extra node1 node,
which affects quorum, etc. Installing the charm's corosync.conf file
before package installation prevents this conditioning from happening.
Additionally this change removes some Xenial bits in the charm and always
includes a nodelist in corosync.conf as it is compulsory in focal and
newer. It is optional in the bionic packages, so we'll always just
render the nodelist.
Change-Id: I06b9c23eb57274 f0c99a3a05979c0 cabf87c8118 84a86825f06c6ed e266ba93ba)
Closes-Bug: #1874719
(cherry picked from commit d1191dbcabdfd86