Hello community,
here is the log from the commit of package saphanabootstrap-formula for
openSUSE:Factory checked in at 2020-10-20 16:15:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/saphanabootstrap-formula (Old)
and /work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "saphanabootstrap-formula"
Tue Oct 20 16:15:36 2020 rev:24 rq:842586 version:0.6.2+git.1603119080.710767e
Changes:
--------
---
/work/SRC/openSUSE:Factory/saphanabootstrap-formula/saphanabootstrap-formula.changes
2020-10-14 15:40:47.174395803 +0200
+++
/work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.3486/saphanabootstrap-formula.changes
2020-10-20 16:22:55.250365242 +0200
@@ -1,0 +2,5 @@
+Mon Oct 19 14:48:50 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Set the native fence mechanism usage for CSP as optional
+
+-------------------------------------------------------------------
Old:
----
saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7.tar.gz
New:
----
saphanabootstrap-formula-0.6.2+git.1603119080.710767e.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ saphanabootstrap-formula.spec ++++++
--- /var/tmp/diff_new_pack.a2U2p5/_old 2020-10-20 16:22:55.890365545 +0200
+++ /var/tmp/diff_new_pack.a2U2p5/_new 2020-10-20 16:22:55.894365547 +0200
@@ -19,7 +19,7 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: saphanabootstrap-formula
-Version: 0.6.2+git.1602608396.b2b12f7
+Version: 0.6.2+git.1603119080.710767e
Release: 0
Summary: SAP HANA platform deployment formula
License: Apache-2.0
++++++ _service ++++++
--- /var/tmp/diff_new_pack.a2U2p5/_old 2020-10-20 16:22:55.934365565 +0200
+++ /var/tmp/diff_new_pack.a2U2p5/_new 2020-10-20 16:22:55.938365567 +0200
@@ -5,7 +5,7 @@
<param name="exclude">.git</param>
<param name="filename">saphanabootstrap-formula</param>
<param name="versionformat">0.6.2+git.%ct.%h</param>
- <param name="revision">b2b12f7e7a06269af114f8303766824a500e88c3</param>
+ <param name="revision">710767ee1d96d826860c2cdf38a4f2ea6533671e</param>
</service>
<service name="recompress" mode="disabled">
++++++ saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7.tar.gz ->
saphanabootstrap-formula-0.6.2+git.1603119080.710767e.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7/saphanabootstrap-formula.changes
new/saphanabootstrap-formula-0.6.2+git.1603119080.710767e/saphanabootstrap-formula.changes
---
old/saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7/saphanabootstrap-formula.changes
2020-10-13 18:59:56.000000000 +0200
+++
new/saphanabootstrap-formula-0.6.2+git.1603119080.710767e/saphanabootstrap-formula.changes
2020-10-19 16:51:20.000000000 +0200
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Oct 19 14:48:50 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Set the native fence mechanism usage for CSP as optional
+
+-------------------------------------------------------------------
Tue Oct 13 15:50:43 UTC 2020 - Simranpal Singh <[email protected]>
- Version 0.6.2:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7/templates/scale_up_resources.j2
new/saphanabootstrap-formula-0.6.2+git.1603119080.710767e/templates/scale_up_resources.j2
---
old/saphanabootstrap-formula-0.6.2+git.1602608396.b2b12f7/templates/scale_up_resources.j2
2020-10-13 18:59:56.000000000 +0200
+++
new/saphanabootstrap-formula-0.6.2+git.1603119080.710767e/templates/scale_up_resources.j2
2020-10-19 16:51:20.000000000 +0200
@@ -2,6 +2,7 @@
{%- set sid = data.sid.upper() %}
{%- set instance = '{:0>2}'.format(data.instance) %}
{%- set cloud_provider = grains['cloud_provider'] %}
+{%- set native_fencing = data.native_fencing|default(True) %}
{%- set monitoring_enabled = pillar.cluster.monitoring_enabled|default(False)
%}
#
@@ -28,6 +29,7 @@
# Platform dependant (stonith, virtual ip address, cib options, etc) resource
{%- if cloud_provider == "amazon-web-services" %}
+{%- if native_fencing %}
property $id="cib-bootstrap-options" \
stonith-enabled="true" \
stonith-action="off" \
@@ -39,6 +41,7 @@
op stop interval=0 timeout=180 \
op monitor interval=120 timeout=60 \
meta target-role=Started
+{%- endif %}
primitive rsc_aws_vip_{{ sid }}_HDB{{ instance }} ocf:suse:aws-vpc-move-ip \
params ip={{ data.virtual_ip }} routing_table={{ data.route_table }} \
@@ -51,10 +54,12 @@
{%- elif cloud_provider == "google-cloud-platform" %}
+{%- if native_fencing %}
# This stonith resource 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
+{%- endif %}
primitive rsc_gcp_vip_{{ sid }}_HDB{{ instance }}
ocf:heartbeat:gcp-vpc-move-route \
params ip={{ data.virtual_ip }} vpc_network={{ data.vpc_network_name }}
route_name={{ data.route_name }} \