charm-hacluster:stable/20.02

Last commit made on 2020-03-13
Get this branch:
git clone -b stable/20.02 https://git.launchpad.net/charm-hacluster

Branch merges

Branch information

Name:
stable/20.02
Repository:
lp:charm-hacluster

Recent commits

b3f65b9... by =?utf-8?q?Jos=C3=A9_Pekkarinen?= <email address hidden>

Add support for maas_source_key for offline deployments.

Closes-Bug: #1856148
Change-Id: Id28d4c5c8c711ef53e9ec0422d80d23a6a844291
Signed-off-by: José Pekkarinen <email address hidden>
(cherry picked from commit c99eed495c25846243e379d92fd1b987495b9f60)

2b69880... by Liam Young

Updates for stable branch creation

Set default branch for git review/gerrit.

Switch amulet tests to stable.

Switch zaza bundles to stable charms.

Switch to using stable charm-helpers branch.

Change-Id: I9fccfd3d0b6984070f46e1d0d72fcbdb49a6ad0b

e5f0c5f... by Liam Young

Charmhelper sync for 20.02

Change-Id: I148eb8af40ffe30966f86abb0f26568117f4d838

d3512ef... by Liam Young

Stop HA services accross units for series upgrade

Stop HA services accross all units of an application when doing a
series upgrade to avoid the situation where the cluster has some
nodes on LTS N-1 and some on LTS N.

1) In the 'pre-series-upgrade' send a notification to peers informing
   them that the unit is doing a series upgrade and to which Ubuntu
   version.
2) Peers receive notification. If they are on a later Ubuntu version
   than the one in the notification then they do nothing. Otherwise
   they shutdown corosync and pacemaker and add an entry to the local
   kv store with waiting-unit-upgrade=True.
3) In the 'post-series-upgrade' hook the notification is removed from
   the peer relation. waiting-unit-upgrade is set to False and
   corosync and pacemaker are started.

The result of this is that when the first unit in the cluster starts
a series upgrade all cluster services are shutdown across all units.
They then rejoin the cluster one at a time when they have been
upgraded to the new version.

I added the waiting-unit-upgrade key to deal with the situation where
the first node clears the notification after it has successfully
upgraded, with out the waiting-unit-upgrade the peers would not know
they were in a mixed Ubuntu version cluster.

Change-Id: Id9167534e8933312c561a6acba40399bca437706
Closes-Bug: 1859150

6216581... by Corey Bryant

Sync charm-helpers for Ussuri/Focal release and version details

Change-Id: I676c6f514074c23a503922194d8014bb2eda4631

a5939d2... by Zuul <email address hidden>

Merge "Port hacluster tests from Amulet to Zaza"

6e10d56... by Zuul <email address hidden>

Merge "Switch to Ussuri jobs"

df5f114... by Celia Wang

Port hacluster tests from Amulet to Zaza

Closes-Bug: #1828424
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/148

Signed-off-by: Xiyue Wang <email address hidden>

Change-Id: I0c0447680f89e2378f9bca3b8322a9bfa50ffd46

b6ca5cf... by ShangXiao

Switch to Ussuri jobs

Change-Id: Ic116516ba2f88f8f21fd56e2e259dd0b1d21ef7b

bb4438c... by Alex Kavanagh

Fix minor spelling missage in status message

... for the series upgrade status message.

Change-Id: I6e0b6e4945eabd8294600ffab103d85768b622a6