From 5cabb738ed193c705d8cc0a70f26e96fe456efbf Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Tue, 13 Feb 2024 14:38:36 +0100 Subject: [PATCH 1/2] Update src/lib/sap_ha/configuration/hana.rb Co-authored-by: Josef Reidinger --- src/lib/sap_ha/configuration/hana.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sap_ha/configuration/hana.rb b/src/lib/sap_ha/configuration/hana.rb index 75a4a05..9305366 100644 --- a/src/lib/sap_ha/configuration/hana.rb +++ b/src/lib/sap_ha/configuration/hana.rb @@ -353,7 +353,7 @@ def adjust_global_ini(role) add_plugin_to_global_ini("SUS_TKOVER", @system_id) end command = ["hdbnsutil", "-reloadHADRProviders"] - _out, _status = su_exec_outerr_status("#{@system_id.downcase}adm", *command) + su_exec_outerr_status("#{@system_id.downcase}adm", *command) end # Activates the plugin in global ini From 6ecfc38aa495f5a26d830ee4cdcfe0e0f0f50178 Mon Sep 17 00:00:00 2001 From: Peter Varkoly Date: Fri, 15 Mar 2024 18:41:38 +0100 Subject: [PATCH 2/2] The model has been changed, therefore old configuration files cannot be loaded --- package/yast2-sap-ha.changes | 7 +++++++ package/yast2-sap-ha.spec | 2 +- src/lib/sap_ha/wizard/scenario_selection_page.rb | 8 ++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/package/yast2-sap-ha.changes b/package/yast2-sap-ha.changes index 008e977..f2d651f 100644 --- a/package/yast2-sap-ha.changes +++ b/package/yast2-sap-ha.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 15 17:38:52 UTC 2024 - Peter Varkoly + +- yast2-sap-ha: Error occurred during the unattended installation: undefined class/module SapHA::Configuration::ClusterFinalizer + (bsc#1221049) +- 4.4.8 + ------------------------------------------------------------------- Wed Nov 29 07:52:36 UTC 2023 - Peter Varkoly diff --git a/package/yast2-sap-ha.spec b/package/yast2-sap-ha.spec index fe4ff2e..c3a936a 100644 --- a/package/yast2-sap-ha.spec +++ b/package/yast2-sap-ha.spec @@ -17,7 +17,7 @@ Name: yast2-sap-ha -Version: 4.4.7 +Version: 4.4.8 Release: 0 BuildArch: noarch Source0: %{name}-%{version}.tar.bz2 diff --git a/src/lib/sap_ha/wizard/scenario_selection_page.rb b/src/lib/sap_ha/wizard/scenario_selection_page.rb index 7f57f4c..598a939 100644 --- a/src/lib/sap_ha/wizard/scenario_selection_page.rb +++ b/src/lib/sap_ha/wizard/scenario_selection_page.rb @@ -42,8 +42,12 @@ def set_contents end def refresh_view - previous_configs = SapHA::Helpers.get_configuration_files(@model.product_id) - previous_configs_popup(previous_configs) if !previous_configs.empty? + begin + previous_configs = SapHA::Helpers.get_configuration_files(@model.product_id) + previous_configs_popup(previous_configs) if !previous_configs.empty? + rescue StandardError => e + log.info "Could not parse previous config files: #{e.message}" + end end def can_go_next?