charm-rabbitmq-server:stable/focal

Last commit made on 2023-05-18
Get this branch:
git clone -b stable/focal https://git.launchpad.net/charm-rabbitmq-server

Branch merges

Branch information

Name:
stable/focal
Repository:
lp:charm-rabbitmq-server

Recent commits

4072c67... by Alex Kavanagh

Add service user password rotation feature

This patch adds the service user rotation feature, which provides two
actions:

 - list-service-usernames
 - rotate-service-user-password

The first lists the possible usernames that can be rotated. The
second action rotates the service, and is tested via the func-test-pr.

Note: in order to get the patch to cherry-pick from master, some changes
had to be made to work with the older, focal, codebase.

Change-Id: Ia94ab3d54cd8a59e9ba5005b88d3ec1ff87019b1
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1052
(cherry picked from commit 42714adfde814729f39c31165667b59f959555e2)

ddea6a0... by Edward Hope-Morley

Fix typo in configure ttl code

Also fixes tox.ini

Change-Id: Ic4c2d34ff248d5429eb604824e42dbaba6ca2678
Closes-Bug: #1939681
(cherry picked from commit 8c9f68e8aadc3a6786bf42ca250252fed0eef381)
(cherry picked from commit ba80227067f2268589e0b273ef5f783369fb8c8a)

7d72a74... by Vern Hart <email address hidden>

Enforce a maximum of 1024 async threads.

The beam.smp process won't start if more than 1024 are configured, the
charm could make this by default on large systems (e.g. more than 42
CPUs). This change makes RabbitMQEnvContext.calculate_threads() never
return more than 1024 (MAX_NUM_THREADS).

Resolved Conflicts:
 tox.ini
 unit_tests/test_rabbitmq_server_relations.py

Change-Id: I92879445210bac6ee7d96a704cdf428ca738e3b6
Closes-Bug: #1768986
(cherry picked from commit 3c1c05ee598b2fc85ddf0f971528dde433312bff)

cc50727... 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: Ib1904db255750aba221f95dd38422ecc9a209574

6aed1d4... by Alex Kavanagh

Ensure that charmcraft builds on 18.04 for bionic and focal

This is the focal charm, but it needs bionic support to be able to do
the series upgrade from bionic.

Change-Id: I24d4d9356fcc1880791c8101e5ef1e5da707a91a

b3f22f3... by Alex Kavanagh

Update to build using charmcraft - focal batch

The 'focal' batch includes charms that are distro based, rather than
OpenStack release based. This charm contains support for bionic as well.

Change-Id: I4cad189a2ce1ea30014e5fff72cb664e4c9d68de

b3adbfd... by Alex Kavanagh

21.10 - Release

Remove the "channel: candidate" from the func-test
bundles.

Change-Id: I4f5f80ef44d431e0b478fca53fa7edb69c39a959

657c89c... by Alex Kavanagh

21.10 - Stable cut of charms for testing period

* use stable/21.10 libraries
* use zaza/zaza-openstack-tests at stable/21.10
* build.lock files for reactive charms
* bundles refer to ~openstack-charms candidate channel

Change-Id: I6f5c6fdb5b381a074d9e79468ff70dcc46517828

bfcc469... by Alex Kavanagh

Add xena bundles

- add non-voting focal-xena bundle (unused in gate)
- add non-voting impish-xena bundle
- charm-helpers sync for new charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0

Change-Id: Ic552eff1daa9739ad7fd46af4f7c143f0c9062ea

242167b... by Julien Thieffry

Display busiest queues in check_queues NRPE plugin

When invoking the check_rabbitmq_queues script with wildcards for vhost
and/or queue parameters, script output does not reflect precisely which
queues are having a high number of oustanding messages as information is
consolidated under the wildcard.

This change fixes this behaviour by adding a new charm configuration
parameter which allows the user to specify the number of busiest queues,
n, to display should the check_rabbitmq_queues script reports any
warnings or errors. The default, n=0, keeps the current script output.
This option is applicable regardless of the vhost:queue combination but
is specifically relevant when wildcards are passed as arguments.

Implementation displays the first n items in the stats list re-organized
in decreasing message count order.

Closes-Bug: #1939084
Change-Id: I5a32cb6bf37bd2a0f30861eace3c0e6cb5c2559d