Hello community,

here is the log from the commit of package sapnwbootstrap-formula for 
openSUSE:Factory checked in at 2020-01-25 13:24:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sapnwbootstrap-formula (Old)
 and      /work/SRC/openSUSE:Factory/.sapnwbootstrap-formula.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sapnwbootstrap-formula"

Sat Jan 25 13:24:49 2020 rev:4 rq:766940 version:0.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sapnwbootstrap-formula/sapnwbootstrap-formula.changes
    2019-12-21 12:33:05.611412088 +0100
+++ 
/work/SRC/openSUSE:Factory/.sapnwbootstrap-formula.new.26092/sapnwbootstrap-formula.changes
 2020-01-25 13:24:56.184056967 +0100
@@ -1,0 +2,13 @@
+Thu Jan 23 13:17:27 UTC 2020 - Dario Maiocchi <[email protected]>
+
+-  Version bump 0.2.0
+  * Add saptune module to apply a specific solutionn
+
+-------------------------------------------------------------------
+Mon Jan 20 13:48:38 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Version bump 0.1.9
+  * Improve the shared disk creation to avoid issues mounting and 
+    formatting the partitions (and later on with SAP instances) 
+
+-------------------------------------------------------------------

Old:
----
  sapnwbootstrap-formula-0.1.8.tar.gz

New:
----
  sapnwbootstrap-formula-0.2.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sapnwbootstrap-formula.spec ++++++
--- /var/tmp/diff_new_pack.q81s37/_old  2020-01-25 13:24:57.140057386 +0100
+++ /var/tmp/diff_new_pack.q81s37/_new  2020-01-25 13:24:57.140057386 +0100
@@ -19,7 +19,7 @@
 # See also http://en.opensuse.org/openSUSE:Specfile_guidelines
 
 Name:           sapnwbootstrap-formula
-Version:        0.1.8
+Version:        0.2.0
 Release:        0
 Summary:        SAP Netweaver platform deployment formula
 License:        Apache-2.0

++++++ sapnwbootstrap-formula-0.1.8.tar.gz -> 
sapnwbootstrap-formula-0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sapnwbootstrap-formula-0.1.8/netweaver/init.sls 
new/sapnwbootstrap-formula-0.2.0/netweaver/init.sls
--- old/sapnwbootstrap-formula-0.1.8/netweaver/init.sls 2019-12-19 
14:28:56.910027998 +0100
+++ new/sapnwbootstrap-formula-0.2.0/netweaver/init.sls 2020-01-23 
17:58:17.623545151 +0100
@@ -1,5 +1,6 @@
 include:
   - netweaver.setup
+  - netweaver.saptune
   - netweaver.install_ascs
   - netweaver.install_ers
   - netweaver.ha_cluster
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sapnwbootstrap-formula-0.1.8/netweaver/saptune.sls 
new/sapnwbootstrap-formula-0.2.0/netweaver/saptune.sls
--- old/sapnwbootstrap-formula-0.1.8/netweaver/saptune.sls      1970-01-01 
01:00:00.000000000 +0100
+++ new/sapnwbootstrap-formula-0.2.0/netweaver/saptune.sls      2020-01-23 
17:58:17.623545151 +0100
@@ -0,0 +1,10 @@
+{%- from "netweaver/map.jinja" import netweaver with context -%}
+{% set host = grains['host'] %}
+{% for node in netweaver.nodes if node.host == host and 
(netweaver.saptune_solution is defined or node.saptune_solution is defined) %}
+{% set saptune_solution = 
node.saptune_solution|default(netweaver.saptune_solution) %}
+{% set instance = '{:0>2}'.format(node.instance) %}
+{% set name = '{}_{}'.format(node.sid, instance) %}
+apply_saptune_solution_{{ host }}_{{ name }}:
+  saptune.solution_applied:
+    - name: {{ saptune_solution }}
+{% endfor %}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapnwbootstrap-formula-0.1.8/netweaver/setup/shared_disk.sls 
new/sapnwbootstrap-formula-0.2.0/netweaver/setup/shared_disk.sls
--- old/sapnwbootstrap-formula-0.1.8/netweaver/setup/shared_disk.sls    
2019-12-19 14:28:56.910027998 +0100
+++ new/sapnwbootstrap-formula-0.2.0/netweaver/setup/shared_disk.sls    
2020-01-23 17:58:17.623545151 +0100
@@ -27,16 +27,28 @@
     - require:
       - label_partition
 
+# This state is done to avoid failure in disk formatting
+wait_until_partition:
+  module.run:
+    - test.sleep:
+      - length: 5
+    - require:
+      - sbd_partition
+      - first_partition
+      - second_partition
+
 format_first_partition:
   cmd.run:
     - name: /sbin/mkfs.xfs {{ node.shared_disk_dev }}2
     - require:
+      - wait_until_partition
       - first_partition
 
 format_second_partition:
   cmd.run:
     - name: /sbin/mkfs.xfs {{ node.shared_disk_dev }}3
     - require:
+      - wait_until_partition
       - second_partition
 
 {% else %}
@@ -48,5 +60,22 @@
     - hide_output: True
     - timeout: 6000
 
+# This state is done to give always time to the disk formatting done by the 
1st node
+wait_until_rescan:
+  module.run:
+    - test.sleep:
+      - length: 10
+    - require:
+      - rescan_partition
+
+rescan_after_formatting:
+  cmd.run:
+    - name: partprobe; fdisk -l {{ node.shared_disk_dev }}
+    - output_loglevel: quiet
+    - hide_output: True
+    - timeout: 6000
+    - require:
+      - wait_until_rescan
+
 {% endif %}
 {% endfor %}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sapnwbootstrap-formula-0.1.8/pillar.example 
new/sapnwbootstrap-formula-0.2.0/pillar.example
--- old/sapnwbootstrap-formula-0.1.8/pillar.example     2019-12-19 
14:28:56.910027998 +0100
+++ new/sapnwbootstrap-formula-0.2.0/pillar.example     2020-01-23 
17:58:17.623545151 +0100
@@ -37,6 +37,11 @@
   # Enable operations in ASCS and ERS to set HA environment correctly (HA 
cluster is not installed)
   ha_enabled: True
 
+  # saptune solution to apply to all nodes ( by default nothing is applied)
+  # you can also use this to a single node if need to differ. see host hacert02
+  # Warning: only a unique solution can exist into a node.
+  saptune_solution: 'NETWEAVER'
+
   # Information about the already deployed HANA Database
   # This entry is mandatory if DB/PAS/AAS are to be installed
   hana:
@@ -66,6 +71,7 @@
       virtual_host: sapha1er
       sid: HA1
       instance: 10
+      saptune_solution: 'MAXDB'
       root_user: root
       root_password: linux
       shared_disk_dev: /dev/sbd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapnwbootstrap-formula-0.1.8/sapnwbootstrap-formula.changes 
new/sapnwbootstrap-formula-0.2.0/sapnwbootstrap-formula.changes
--- old/sapnwbootstrap-formula-0.1.8/sapnwbootstrap-formula.changes     
2019-12-19 14:28:56.910027998 +0100
+++ new/sapnwbootstrap-formula-0.2.0/sapnwbootstrap-formula.changes     
2020-01-23 17:58:17.623545151 +0100
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Thu Jan 23 13:17:27 UTC 2020 - Dario Maiocchi <[email protected]>
+
+-  Version bump 0.2.0
+  * Add saptune module to apply a specific solutionn
+
+-------------------------------------------------------------------
+Mon Jan 20 13:48:38 UTC 2020 - Xabier Arbulu <[email protected]>
+
+- Version bump 0.1.9
+  * Improve the shared disk creation to avoid issues mounting and 
+    formatting the partitions (and later on with SAP instances) 
+
+-------------------------------------------------------------------
 Thu Dec 19 12:19:23 UTC 2019 - Xabier Arbulu <[email protected]>
 
 - Version bump 0.1.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapnwbootstrap-formula-0.1.8/sapnwbootstrap-formula.spec 
new/sapnwbootstrap-formula-0.2.0/sapnwbootstrap-formula.spec
--- old/sapnwbootstrap-formula-0.1.8/sapnwbootstrap-formula.spec        
2019-12-19 14:28:56.910027998 +0100
+++ new/sapnwbootstrap-formula-0.2.0/sapnwbootstrap-formula.spec        
2020-01-23 17:58:17.623545151 +0100
@@ -19,7 +19,7 @@
 # See also http://en.opensuse.org/openSUSE:Specfile_guidelines
 
 Name:           sapnwbootstrap-formula
-Version:        0.1.8
+Version:        0.2.0
 Release:        0
 Summary:        SAP Netweaver platform deployment formula
 License:        Apache-2.0


Reply via email to