charm-hacluster:stable/jammy

Last commit made on 2023-11-17
Get this branch:
git clone -b stable/jammy https://git.launchpad.net/charm-hacluster

Branch merges

Branch information

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

Recent commits

50bec9d... by Gabriel Cocenza

Add application version on HA Cluster charm

Closes-Bug: #2031438
Change-Id: I4dab721ebe42d4c43c09a98204ce8113892aa817
(cherry picked from commit aa557b85b7b391d9651b34d638542f3e1e302d96)

7ff0d9b... by Tiago Pasqualini da Silva

Get private-address for local unit from relation

Currently, the private-address for the local unit is queried using
unit_get, which can cause it to return an address from a different
binding. This patch changes it to always query from the relation.

Closes-bug: #2020669
Change-Id: I128420c572d5491b9af4cf34614f4534c787d02c
(cherry picked from commit 71100249ee236302ff09d90d49ec66c2fb846829)

4745016... by Zuul <email address hidden>

Merge "Add docs key and point at Discourse" into stable/jammy

094531b... by Peter Matulis

Add docs key and point at Discourse

Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Depends-On: https://review.opendev.org/c/openstack/charm-hacluster/+/895818
Change-Id: Icf59d65f7938a9a72a0dca87dfbcf13118fabea1

4abd94f... by Corey Bryant

Update pinning

Update charm-tools pin to allow it to pick up future 2.x releases.

Pin PyYAML to the latest version that doesn't use Cython.

Pins jsonschema in test-requirements.txt to fix test failures
due to newer versions of jsonschema pulling in rpds-py and
therefore the Rust toolchain.

Change-Id: I450bec55ec3d12f24125caca149106bf84a9919d

6909080... by Felipe Reyes

Use get_property instead of get-property

hacluster uses the command "crm configure get-property <CMD>" to obtain
a property of the cluster, although "get-property" has been deprecated
in favor of "get_property", since crmsh-4.2.1 a warning is printed to
stdout[0] breaking the parsing.

    # crm configure get-property maintenance-mode 2>/dev/null
    WARNING: This command 'get-property' is deprecated, please use 'get_property'
    INFO: "get-property" is accepted as "get_property"
    true

[0] https://github.com/ClusterLabs/crmsh/commit/86282af8e5389138ddd204ed5bd9358460219688

Change-Id: Id0ee9ab1873d14dcd1c960001cdeb8318f599ef5
Closes-Bug: #2008704
(cherry picked from commit 8446b38347c666ecb2bddaadfd104ee0d4b5c92a)

19615c8... by Felipe Reyes

charm-helpers sync

Change-Id: I535233730733ed39cb49d122ecd35dab34a28f1a

88bcf14... by Felipe Reyes

Update testing bundles

This change reconfigures the bundles to use OpenStack yoga, the last
version that supports Focal and Jammy, this allows testing on a stable
base.

For the case of mysql the same principle is used when switching to the
8.0/edge tracks

Change-Id: I4e3bfbc5e9169b68b404b500f402dfce9ebaccac
Closes-Bug: #1991528

0cd6218... by Corey Bryant

Pin tox to < 4.0.0

Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.

Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.

Related-Bug: #2002788
Change-Id: Iccd88d2e6bedcf87ae88b47f1296284224f7e406

5825fba... by Corey Bryant

Only return hacluster nodes from list_nodes()

list_nodes() recently had some changes to run 'crm node show'
in jammy+ instead of 'crm node status'. The difference is that
'crm node show' returns the pacemaker-remote nodes in addition
 to the hacluster nodes. This change limits the nodes returned
by list_nodes() to the hacluster nodes (ie. the nodes that
have a node ID).

Closes-Bug: #1995295
Change-Id: Ia405d4270f56c949f79167f8b75c1304b598b918
(cherry picked from commit a03b0b2a87e8667da2f43c4e5f827d9ff8843307)