diff options
author | Michele Baldessari <michele@acksyn.org> | 2017-08-08 21:27:48 +0200 |
---|---|---|
committer | Michele Baldessari <michele@acksyn.org> | 2017-08-08 22:49:47 +0200 |
commit | 96795a94da4df3a52c3c28a7c70419c3208c9c4b (patch) | |
tree | 4e40f54c42ad38a575ebaa704d163d080b66d108 /extraconfig/tasks/pacemaker_resource_restart.sh | |
parent | 5bf7d6582b2346a9c1671430ebead6c358508863 (diff) |
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
Diffstat (limited to 'extraconfig/tasks/pacemaker_resource_restart.sh')
0 files changed, 0 insertions, 0 deletions