diff options
author | Michele Baldessari <michele@acksyn.org> | 2017-08-25 10:21:11 +0200 |
---|---|---|
committer | Chris Jones <cmsj@tenshu.net> | 2017-10-05 16:25:48 +0000 |
commit | 250d979aea7055eaed0c1dfa5850514c816da195 (patch) | |
tree | 8ca248d95ce66b7273bb4c4b42a949760c3ec631 /manifests/profile/pacemaker/database/redis_bundle.pp | |
parent | 67e1e603a6b81e7532eb2cac2e27eec1ea413d32 (diff) |
Set meta container-attribute-target=host attribute
This is needed because when we run bundles we actually
want to store attributes on a per-node basis and not on a per-bundle
basis. By activating this attribute pacemaker will pass
some extra OCS_RESKEY_CRM_meta attributes that will help us in this
decision.
We can merge this once we have packages for pacemaker and
resource-agents releases that contain the necessary fixes.
Proper pacemaker and resource-agents are now in the repo [1] so
we can merge it and backport it to pike.
[1] https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-pike/
Closes-Bug: #1713007
Change-Id: I0dd06e953b4c81f217d0f4199b2337e4c3358086
(cherry picked from commit 6bcb011723ad7b75f18914c887dc4fa4bad4d620)
Diffstat (limited to 'manifests/profile/pacemaker/database/redis_bundle.pp')
-rw-r--r-- | manifests/profile/pacemaker/database/redis_bundle.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/profile/pacemaker/database/redis_bundle.pp b/manifests/profile/pacemaker/database/redis_bundle.pp index 8b18858..1e144f9 100644 --- a/manifests/profile/pacemaker/database/redis_bundle.pp +++ b/manifests/profile/pacemaker/database/redis_bundle.pp @@ -150,7 +150,7 @@ class tripleo::profile::pacemaker::database::redis_bundle ( ocf_agent_name => 'heartbeat:redis', resource_params => 'wait_last_known_master=true', master_params => '', - meta_params => 'notify=true ordered=true interleave=true', + meta_params => 'notify=true ordered=true interleave=true container-attribute-target=host', op_params => 'start timeout=200s stop timeout=200s', tries => $pcs_tries, location_rule => { |