* 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 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>