Do not create VIP for pacemaker OVN OCF resource
authorNuman Siddique <nusiddiq@redhat.com>
Sun, 11 Jun 2017 00:30:43 +0000 (06:00 +0530)
committerNuman Siddique <nusiddiq@redhat.com>
Sun, 11 Jun 2017 00:49:18 +0000 (06:19 +0530)
commit439a674e51b78141e57c0390cfcae403ab130fc8
tree42d4f0dac86978ee1dbce1bea458975949fae2b9
parentd2f525cf7f30c182a035d91a1c2a9f06590b0d2b
Do not create VIP for pacemaker OVN OCF resource

The commit with change id [1], added the pacemaker HA support
for OVN DB servers. That commit created a new VIP which is
really not required.

This patch removes the code to create a new ip resource. Instead
it expects the pacemaker ip resource (with the ip address in the
'ovn_dbs_vip' parameter and with the name "ip-$ovn_dbs_vip") to be
created before ovn_northd class is called, which is the case anyway
if 'ovn_dbs_vip' is taken from the ServiceNetMapDefaults (in t-h-t).

[1] - I9dc366002ef5919339961e5deebbf8aa815c73db

Change-Id: I94d3960e6c5406e3af309cc8c787ac0a6c9b1756
Partial-bug: #1670564
manifests/profile/pacemaker/ovn_northd.pp