Skip to content

Commit

Permalink
The model has been changed, therefore old configuration files cannot …
Browse files Browse the repository at this point in the history
…be loaded
  • Loading branch information
Peter Varkoly committed Mar 15, 2024
2 parents 580add2 + 1360a53 commit 6a5c3b2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
7 changes: 7 additions & 0 deletions package/yast2-sap-ha.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 15 17:38:52 UTC 2024 - Peter Varkoly <[email protected]>

- yast2-sap-ha: Error occurred during the unattended installation: undefined class/module SapHA::Configuration::ClusterFinalizer
(bsc#1221049)
- 4.6.3

-------------------------------------------------------------------
Wed Nov 29 07:52:36 UTC 2023 - Peter Varkoly <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-sap-ha.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-sap-ha
Version: 4.6.2
Version: 4.6.3
Release: 0
BuildArch: noarch
Source0: %{name}-%{version}.tar.bz2
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sap_ha/configuration/hana.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 6 additions & 2 deletions src/lib/sap_ha/wizard/scenario_selection_page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 6a5c3b2

Please sign in to comment.