Edward Hope-Morley 763366c0f4 Cleanup Master CI
* update:
  - charmcraft.yaml for v3
  - tox.ini to use py3.12 by default
  - test-requirements.in to use zaza for juju3
  - update test bundles to work with charmcraft v3
* generate:
  - merged-requirements-py312.txt
  - test-requirements-py312.txt
* add:
   - update-requirements env to tox.ini and src/tox.ini

Change-Id: Ia6d948ef3df32de9520088adb23b6ac43a4171f3
Signed-off-by: Edward Hope-Morley <edward.hope-morley@canonical.com>
2026-06-09 21:11:29 +01:00
2026-06-09 21:11:29 +01:00
2022-04-18 21:08:03 +01:00
2019-03-20 09:20:01 +00:00
2024-09-03 19:31:30 +00:00
2022-10-26 14:32:00 +00:00
2026-06-09 21:11:29 +01:00
2019-02-08 12:17:58 +01:00
2022-02-21 15:14:50 +00:00
2024-09-03 19:31:30 +00:00
2020-05-28 07:06:14 +02:00
2025-10-29 10:56:44 -07:00
2022-02-21 15:14:50 +00:00
2026-06-09 21:11:29 +01:00
2026-06-09 21:11:29 +01:00
2026-06-09 21:11:29 +01:00
2026-06-09 21:11:29 +01:00

Overview

Masakari is used to provide automated recovery of KVM-based OpenStack machine instances for deployments that use shared storage (volumes).

The masakari charm deploys the Masakari engine and the Masakari API. It is used in conjunction with the masakari-monitors and pacemaker-remote charms. Together, these charms provide the following functionality:

  1. Evacuation of instances (supported since OpenStack Stein)
    In the event of hypervisor failure, instances can be migrated to another hypervisor.

  2. Restarting of instances (supported since OpenStack Ussuri)
    A failed instance can be restarted.

For details see the Automated Instance Recovery appendix in the OpenStack Charms Deployment Guide.

Note

: The restarting of services (e.g. nova-compute) is not supported by the charm as it is considered a systemd task.

Usage

Configuration

See file config.yaml for the full list of configuration options, along with their descriptions and default values.

Deployment

To deploy a single masakari unit:

juju deploy masakari

High availability

When more than one unit is deployed with the hacluster application the charm will bring up an HA active/active cluster.

To deploy a three-node cluster:

juju deploy -n 3 masakari

There are two mutually exclusive high availability options: using virtual IP(s) or DNS. In both cases the hacluster subordinate charm is used to provide the Corosync and Pacemaker backend HA functionality.

See the OpenStack high availability appendix in the OpenStack Charms Deployment Guide for details.

Actions

This section lists Juju actions supported by the charm. Actions allow specific operations to be performed on a per-unit basis. To display action descriptions run juju actions masakari. If the charm is not deployed then see file actions.yaml.

  • openstack-upgrade
  • pause
  • restart-services
  • resume

Bugs

Please report bugs on Launchpad.

For general charm questions refer to the OpenStack Charm Guide.

S
Description
Juju Charm - Masakari Instances High Availability Service
Readme
1.9 MiB
Languages
Python 96.6%
Shell 2.8%
Jinja 0.6%