From 8fffdf9074637da8d4d8b351c8cb935a7cee0625 Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Mon, 15 Aug 2022 09:28:48 +0200 Subject: [PATCH 1/2] add location constraint to gcp_stonith --- hana/templates/cluster_resources.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hana/templates/cluster_resources.j2 b/hana/templates/cluster_resources.j2 index 316e337..1367043 100644 --- a/hana/templates/cluster_resources.j2 +++ b/hana/templates/cluster_resources.j2 @@ -67,11 +67,12 @@ op_defaults \ property $id="cib-bootstrap-options" \ stonith-enabled="true" \ stonith-timeout="150s" - - # This stonith resource will be duplicated for each node in the cluster + + # This stonith resource and location will be duplicated for each node in the cluster primitive rsc_gcp_stonith_{{ sid }}_HDB{{ instance }}_{{ grains['host'] }} stonith:fence_gce \ params plug={{ grains['gcp_instance_name'] }} pcmk_host_map="{{ grains['host'] }}:{{ grains['gcp_instance_name'] }}" \ meta target-role=Started + location loc_gcp_stonith_{{ sid }}_HDB{{ instance }}_{{ grains['host'] }} rsc_gcp_stonith_{{ sid }}_HDB{{ instance }}_{{ grains['host'] }} -inf: {{ grains['host'] }} {%- elif cloud_provider == "microsoft-azure" %} property $id="cib-bootstrap-options" \ From e16b7fbd0dfeef030d57904ff62d41c1c46ad9a5 Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Mon, 15 Aug 2022 09:32:06 +0200 Subject: [PATCH 2/2] bump version to 0.13.0 --- _service | 2 +- saphanabootstrap-formula.changes | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/_service b/_service index 5015b42..64b79cf 100644 --- a/_service +++ b/_service @@ -4,7 +4,7 @@ git .git saphanabootstrap-formula - 0.12.1+git.%ct.%h + 0.13.0+git.%ct.%h %%VERSION%% diff --git a/saphanabootstrap-formula.changes b/saphanabootstrap-formula.changes index 566f639..abef3d1 100644 --- a/saphanabootstrap-formula.changes +++ b/saphanabootstrap-formula.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Aug 15 08:29:52 UTC 2022 - Eike Waldt + +- Version bump 0.13.0 + * pass sid to sudoers in a SLES12 compatible way + * add location constraint to gcp_stonith + ------------------------------------------------------------------- Thu Aug 11 09:19:38 UTC 2022 - Christian Schneemann