Rework pacemaker constraints from ovs and netns cleanup agents
authormarios <marios@redhat.com>
Wed, 30 Sep 2015 10:47:58 +0000 (13:47 +0300)
committermarios <marios@redhat.com>
Tue, 6 Oct 2015 06:03:52 +0000 (09:03 +0300)
commit3dd47a7c2a4ef9f565249053c49d65561ad95741
tree120b655a80672ac39c2a7c3c4776c142a5b8438c
parent9e918a4a517f62d4417909311041e3e54a726462
Rework pacemaker constraints from ovs and netns cleanup agents

In the current neutron-* services constraints chain, the ovs and
netns cleanup services are re-run after a neutron-server restart.
As discussed at [1] this may not be desirable leaving some neutron
services down and any tenant routers without IP.

This review introduces a second constraints chain so we now have:

neutron-server-->openvswitch-->dhcp-->l3-->metadata
and
ovs-cleanup-->netns-cleanup-->openvswitch

Instead of a single chain like

neutron-server-->ovs-cleanup-->netns-cleanup-->openvswitch-->
dhcp-->l3-->metadata

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1266910#c12

Related-Bug: 1501378
Change-Id: I4096704257aff74ff5bd37d8d01d8a776c6c6a76
puppet/manifests/overcloud_controller_pacemaker.pp