* Improve missing cib sections filters
* Change is_online? to use dc-version to determine if CIB is ready
* Cleanup primitives by their full names
* Change node id references to node name as 'id' does not represent
node name for new pacemaker versions
(related change: Id84994df3bf2a990d2925b595aa448746db45383
* Switch location add implementation from pcs to cibadmin --patch
as this provder claims to be crmsh/pcs agnostic and
to solve problems with cib changes not being synced to other nodes
then has been applied concurrently.
* Add missing debug info
* Update rspecs
Author: Dmitry Ilyin <dilyin@mirantis.com>
Closes-bug: #1416378
Change-Id: I2185b17286e46086674abe985bfc48260e7c397b
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
When calling primitive_status using a node param, the status is not
detected properly if the node id in the CIB is not equal to its
hostname. Fixing this by looping through all nodes and checking the
uname key.
Change-Id: Id84994df3bf2a990d2925b595aa448746db45383
When creating a Pacemaker service that uses an OS native class (e.g. systemd),
the pacemaker provider stops the native service before starting it again as
part of the resource, which creates some issues.
Change-Id: I5c86376f710cf747b8a7450c29b9f581f44b2cab
* Add pacemaker service provider and unit tests
* Add generic OCF handler script for RA scripts
* Add service class and docs for pacemaker primitives creation with
default OCF type = pacemaker
* Add specs for pacemaker service define
Implements step 1 of blueprint pacemaker-provider-for-openstack
Change-Id: I5d98d8f9494bb7df4466022b3d49ac6392deb1a5
Co-Author: Dmitry Ilyin (idv1985 <dilyin@mirantis.com>)
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This patch adds support for managing repos
for major distros, separated by osfamily at
the top level and operatingsystem below that.
Since redhat, fedora and centos can all install
from rdo, which is the only current option, the
fedora and centos classes simply wrap around the
redhat one. This may change in the future if any
of them change (for example if RHOS support is
added and redhat is now different to fedora)
Change-Id: I5b18f393999d6f70757a2dfd9b12da049d6b64e1