- Fix check mode for largesend.conf on ppc64le
- Fix the package name of the RHEL 10 Power tools Related: RHEL-74075
This commit is contained in:
parent
ca5037be39
commit
23523cd4b0
@ -34,3 +34,38 @@ diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2382
|
||||
changed_when: false
|
||||
|
||||
- name: Get all currently active values of the parameters of file '{{ __sap_hana_preconfigure_etc_sysctl_saphana_conf }}'
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml.me 2025-02-05 09:51:04.058022376 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/tasks/sapnote/2055470.yml 2025-02-05 09:53:15.784038257 +0100
|
||||
@@ -64,16 +64,19 @@
|
||||
# Note: The sole purpose of the following two tasks is to collect the current value(s) of the kernel parameters
|
||||
# in '/etc/sysctl.d/ibm_largesend.conf' so that the "Reload kernel parameters from file ..." task
|
||||
# can correctly report its 'changed' state. See also https://github.com/sap-linuxlab/community.sap_install/issues/752 .
|
||||
+
|
||||
- name: Construct the command for getting all current parameters of file '/etc/sysctl.d/ibm_largesend.conf'
|
||||
ansible.builtin.command: awk 'BEGIN{FS="="; printf ("sysctl ")}{printf ("%s ", $1)}' /etc/sysctl.d/ibm_largesend.conf
|
||||
register: __sap_hana_preconfigure_register_ibm_largesend_sysctl_command
|
||||
changed_when: false
|
||||
+ when: not ansible_check_mode
|
||||
|
||||
# Reason for noqa: The command module tries to run the complete string as a single command
|
||||
- name: Get all currently active values of the parameters of file '/etc/sysctl.d/ibm_largesend.conf' # noqa command-instead-of-shell
|
||||
ansible.builtin.shell: "{{ __sap_hana_preconfigure_register_ibm_largesend_sysctl_command.stdout }}"
|
||||
register: __sap_hana_preconfigure_register_ibm_largesend_sysctl_p_output_old
|
||||
changed_when: false
|
||||
+ when: not ansible_check_mode
|
||||
|
||||
- name: Reload kernel parameters from file '/etc/sysctl.d/ibm_largesend.conf'
|
||||
ansible.builtin.command: sysctl -p /etc/sysctl.d/ibm_largesend.conf
|
||||
diff -up redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml.me redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml
|
||||
--- redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml.me 2025-02-05 11:35:35.090169430 +0100
|
||||
+++ redhat.sap_install-1.5.2/roles/sap_hana_preconfigure/vars/RedHat_10.yml 2025-02-05 11:35:42.364338354 +0100
|
||||
@@ -99,7 +99,7 @@ __sap_hana_preconfigure_packages_min_ins
|
||||
__sap_hana_preconfigure_ibm_power_repo_url: 'https://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-latest.noarch.rpm'
|
||||
|
||||
__sap_hana_preconfigure_required_ppc64le:
|
||||
- - ibm-power-managed-rhel9
|
||||
+ - ibm-power-managed-rhel10
|
||||
|
||||
# Network related kernel parameters as set in SAP Note 2382421:
|
||||
__sap_hana_preconfigure_kernel_parameters_default:
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
Name: %{package_name}
|
||||
Summary: System Roles to configure RHEL for running SAP NetWeaver- or SAP HANA-based products
|
||||
Version: 3.8.4
|
||||
Version: 3.8.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-3.0-or-later
|
||||
Url: https://github.com/redhat-sap/community.sap_install
|
||||
@ -245,6 +245,11 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Feb 05 2025 Than Ngo <than@redhat.com> - 3.8.5-1
|
||||
- Fix check mode for largesend.conf on ppc64le
|
||||
- Fix the package name of the RHEL 10 Power tools
|
||||
Related: RHEL-74075
|
||||
|
||||
* Tue Feb 04 2025 Than Ngo <than@redhat.com> - 3.8.4-1
|
||||
- Related: RHEL-74075, Fix checkmode in sap_hana_preconfigure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user