Make HA container bundle work on remote nodes
authorMichele Baldessari <michele@acksyn.org>
Tue, 8 Aug 2017 19:27:48 +0000 (21:27 +0200)
committerMichele Baldessari <michele@acksyn.org>
Tue, 8 Aug 2017 20:49:47 +0000 (22:49 +0200)
commit96795a94da4df3a52c3c28a7c70419c3208c9c4b
tree4e40f54c42ad38a575ebaa704d163d080b66d108
parent5bf7d6582b2346a9c1671430ebead6c358508863
Make HA container bundle work on remote nodes

Right now when we deploy an HA bundle on a pacemaker remote node,
the deploy will fail due to the fact that the bundle includes
tripleo::profile::base::pacemaker which makes a call to
hiera('hacluster_pwd') which will fail on pcmk remote nodes.
While we could noop the profile on pcmk nodes, it's much simpler
to just make sure this hiera key exists on pcmk remote nodes.

Also make sure that pacemaker::corosync::manage_fw is set to false
on remote nodes, otherwise the mere inclusion of the pacemaker
profile will cause iptables-save to run in a container and thus failing.

Change-Id: I09b3e54a470cc2d600a701d23463962501c5c9d6
puppet/services/pacemaker_remote.yaml