charm-masakari/src
Corey Bryant ccefc2109c Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I5bf1b2a030c08461bc42c1e686af6220738ed98c
2022-10-26 14:32:00 +00:00
..
files Sync charm/ceph helpers, tox, and requirements 2019-09-30 20:59:19 -05:00
lib/charm/openstack Fix install hook on Groovy 2021-01-11 13:19:20 +01:00
reactive Specify certificates relation to update endpoints. 2021-08-18 15:03:26 -05:00
templates Fix transport_url with multiple rabbit servers 2021-12-07 18:18:49 -03:00
tests Add Kinetic and Zed support 2022-10-26 14:32:00 +00:00
README.md Update README for supported status 2020-05-19 12:33:18 -04:00
config.yaml Add Kinetic and Zed support 2022-10-26 14:32:00 +00:00
copyright first 2019-02-08 12:17:58 +01:00
icon.svg Add charm icon 2020-05-28 07:06:14 +02:00
layer.yaml Distribute direct charm dependencies 2019-08-15 12:31:11 +02:00
metadata.yaml Add Kinetic and Zed support 2022-10-26 14:32:00 +00:00
test-requirements.txt Update to build using charmcraft 2022-02-21 15:14:50 +00:00
tox.ini Add xena bundles 2021-09-27 14:45:25 +01:00
wheelhouse.txt Update to build using charmcraft 2022-02-21 15:14:50 +00:00

README.md

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.