Pacemaker High Availability resource agents for OpenStack
Go to file
Rikimaru Honjo a9d009d29a [PoC]Call masakari APIs from a resource agent
This is a PoC of a resource agent that calls masakari APIs if
instance's host failure is occurred.
The purposes of this patch is below:
- Show how to call the masakari APIs from nova-host-alerter.
- Indicate the implementation of the masakari driver.

This PoC is based on a idea called as "Modular architecture".
But "Modular architecture" is not implemented yet. So this is just
a PoC.

On this patch, we assumed that nova-host-alerter has 'driver' param
in the primitive definition, and that 'masakari' or 'mistral' is
set for the driver param.
And we plan to place masakari_driver.py and masakari_driver.conf
in the same directory as nova-host-alerter.

reference:
* The idea of modular architecture
  https://aspiers.github.io/openstack-day-israel-2017-compute-ha/#/modular
* Specs of a method to recover all virtual machines
  https://github.com/openstack/openstack-resource-agents-specs/blob/master/specs/newton/approved/newton-instance-ha-host-recovery.rst
  https://review.openstack.org/#/c/406659/

Change-Id: I6768a1822ed5f19bc66f0d6d6887194bbc32abad
Co-Authored-By: Kengo Takahara <takahara-kn@njk.co.jp>
2018-03-15 09:25:16 +00:00
debian Remove trailing whitespaces 2016-02-11 10:24:32 +01:00
ocf [PoC]Call masakari APIs from a resource agent 2018-03-15 09:25:16 +00:00
utils Add a script to run checkbashisms on codebase 2015-11-09 16:41:35 +01:00
.gitignore Add .tox/ directory to .gitignore 2016-02-27 14:10:42 +00:00
.gitreview Add .gitreview 2015-10-20 09:57:51 +02:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2015-10-21 12:59:09 +01:00
COPYING Initial checkin of this repository 2012-08-29 01:15:24 +00:00
ChangeLog Added a ChangeLog 2012-08-29 13:01:25 +00:00
Makefile Move syntax-check test to tox.ini 2016-02-24 15:19:00 +01:00
README.rst Write a real README.rst 2015-10-21 12:51:38 +01:00
tox.ini Add bashate version >=0.5.0 as test dependency 2016-03-07 19:43:10 +01:00

README.rst

Pacemaker High Availability resource agents for OpenStack

This repository contains a collection of Pacemaker resource agents (RAs) which can be used to provide highly available OpenStack services managed within Pacemaker clusters.

Usage

Please see the OpenStack High Availability Guide for usage instructions. It is a bit out of date, but most of the information is still accurate; hopefully we can update it soon.

Development

Bugs can be viewed and reported via <https://launchpad.net/openstack-resource-agents>.

Suggestions for improvements are very welcome; changes can be submitted for review via the normal OpenStack development process.

History

Martin Loschwitz started this repository in 2012, hosted at <https://github.com/madkiss/openstack-resource-agents>, and together with Sébastien Han and Emilien Macchi contributed the majority of resource agents.

Martin eventually stepped down from maintainership, and in October 2015 the project was moved to StackForge.