Upstream the rabbit OCF agent for a Pacemaker

Registered by Bogdan Dobrelya

Maintaining a huge and complex OCF agent for rabbimq cluster downstream became a great burden.
We want this script to attract broader auditory and developed upstream, as a part of the rabbitmq-server package.
There is no spec required as there is no impacts, just changing the place of the OCF script hosting and maintenance patches from
fuel-ha-utils package resided downstream to the rabbitmq-server upstream.

(out of scope) Besides that, community efforts are split to different OCF RA for rabbitmq, for further analysis see
https://github.com/lemenkov/pmk-rmq.md/blob/master/pmk-rmq.md . So the action number two is to merge efforts into The OCF RA, the consolidated upstream agent. The merge plan is described here http://lists.openstack.org/pipermail/openstack-dev/2016-April/091763.html

Assignees/Contributors involved:
* Oyvind Albrigtsen (e-ddie)
* Peter Lemenkov (petro)
* Bogdan Dobrelia (bogdando)

Blueprint information

Status:
Complete
Approver:
Vladimir Kuklin
Priority:
Undefined
Drafter:
Bogdan Dobrelya
Direction:
Needs approval
Assignee:
Bogdan Dobrelya
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon 10.0
Started by
Bogdan Dobrelya
Completed by
Bogdan Dobrelya

Whiteboard

ML https://groups.google.com/d/msg/rabbitmq-users/BnoIQJb34Ao/k2eTn4Bp9x4J
The OCF script will be shipped out of box of the rabbitmq-server 3.5.7 version (scheduled for early November 2015)
Upstream documentaion for the OCF script configuration http://www.rabbitmq.com/pacemaker.html

Gerrit topic: https://review.openstack.org/#q,topic:bp/upstream-rabbit-ocf,n,z

Addressed by: https://review.openstack.org/235828
    Sync rabbitmq OCF from upstream

Gerrit topic: https://review.openstack.org/#q,topic:bug/1527518,n,z

Addressed by: https://review.openstack.org/273474
    Quote vars when checking them on emptiness

Addressed by: https://review.openstack.org/275189
    Sync rabbitmq OCF from upstream

Addressed by: https://review.openstack.org/285189
    Sync rabbitmq OCF from upstream

Addressed by: https://review.openstack.org/317912
    Consume upstream rabbitmq-server v3.6.1 OCF RA

(?)

Work Items

Work items:
Contribute the OCF script upstream: DONE
Update upstream docs: DONE
Update the OpenStack HA guide to refer upstream docs for the OCF agent driven clustering: DONE
Sync chagnes both sides manually, until removed from Fuel downstream: DONE
Consume the rabbitmq-server v3.6.1 containing this OCF script in Fuel and remove it from fuel-ha-utils: DONE
Merge all of the upstream OCF RA for rabbitmq-server (out of scope): INPROGRESS
Address CI/CD for the OCF script currently made only in Fuel project to be done upstream (out of scope): TODO

This blueprint contains Public information 
Everyone can see this information.