Commit Graph

10 Commits

Author SHA1 Message Date
Jadon Naas f9e1f451bf Fix typo in actions.yaml
There was a typo in actions.yaml for the resume action that was breaking
builds. This change fixes that typo. The charm will build.

Closes-Bug: 2030677
Change-Id: I2fb654eb176318e9e72e84bf41650e878b989528
2023-08-08 20:54:14 -04:00
Alex Kavanagh 42714adfde 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.

Change-Id: Ia94ab3d54cd8a59e9ba5005b88d3ec1ff87019b1
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1029
2023-05-05 10:17:01 +02:00
Liam Young 81c33953f9 Implementation of deferred restarts
Add deferred event actions and config.

Change-Id: Ifbb15c0c04117a5a98672b2af4fd7203dae9a18e
2021-04-09 21:11:30 +00:00
Nicolas Bock ac1bc43ba9 Add `force-boot` action
This change adds a `force-boot` action which sets the `force_boot`
flag and restarts the RabbitMQ broker. This action can be used if a
broker refuses to start because the master of a queue is not
available.

Also add appropriate unit tests.

Change-Id: I8b01d1d668e18116c7f8b1fc56f197620a10c91f
Partial-Bug: #1828988
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-06-22 13:04:11 +03:00
David Ames 5318764cc6 Forget cluster node as an action
There are race conditions in which the forget_cluster_node can get
executed against a node that is in the process of joining the cluster.

This change moves forget_cluster_node to an action that can be
performed by the administrator. The asses_cluster_status has been
updated to check for departed nodes and set status pointing toward the
use of the new forget-cluster-node action.

Closes-Bug: #1818260
Change-Id: I64bcdb9811a3816b394395fac19f5af5cc9f9006
2020-06-09 08:48:13 -07:00
Drew Freiberger 6672c48136 Added list-unconsumed-queues action
Add status inquiry list-unconsumed-queues action to allow operators to
determine which queues are not being consumed in each RMQ vhost. Useful for
troubleshooting message queue volume alerts.

Closes-Bug: 1767437
Change-Id: Icdd0b8c4db607701bc5e33d86e263b6a5f1bb7f5
2019-02-27 09:36:13 +01:00
David Ames 50b301dab4 Series Upgrade
Implement the series-upgrade feature allowing to move between Ubuntu
series.

Change-Id: Iad105bb3287041d360852498f8a44c87e06bee16
2018-09-17 14:49:41 +02:00
Jill Rouleau 58b8ca09fc Add action to check rmq queues
Report back to the user any queues with greater than N messages.

Change-Id: Ia39c05a4fe0ce74682af24ffe3d17d3006001b62
Closes-Bug: 1716981
2018-02-26 09:46:00 -07:00
Jill Rouleau 69cc374d11 Add cluster_status action, correct actions.py typo
Closes-Bug: #1716981
Change-Id: I100b4615dfb256f981da636d8e6cab211df59255
2017-10-11 21:39:04 +00:00
Liam Young c2a69a73d6 Add pause/resume actions and sync charm-helpers
Adds pause and resume unit to the charm such that the
charm stays paused during maintenance operations.

Change-Id: I418a7e115b01ec1f108402de9e070c8bfa8f6003
Partial-Bug: 1558642
2016-04-05 18:52:37 +00:00