Reviewed: https://review.opendev.org/c/openstack/charm-hacluster/+/841587 Committed: https://opendev.org/openstack/charm-hacluster/commit/567e54d87c55f945f222a9ebbe2e9bfc1984ce5e Submitter: "Zuul (22348)" Branch: stable/focal
commit 567e54d87c55f945f222a9ebbe2e9bfc1984ce5e Author: Billy Olsen <billy.ol...@gmail.com> 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) ** Tags added: in-stable-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874719 Title: [SRU] Use the hostname as the node name instead of hardcoded 'node1' To manage notifications about this bug go to: https://bugs.launchpad.net/charm-hacluster/+bug/1874719/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs