Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bsc#1221049 #44

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Fix bsc#1221049 #44

merged 1 commit into from
Mar 19, 2024

Conversation

varkoly
Copy link
Collaborator

@varkoly varkoly commented Mar 19, 2024

Problem

When configuration was saved befor installing last version the module can not be started.
The reason is that the class SapHA::Configuration::ClusterFinalizer was removed and implemented as a function of the class SapHA::Configuration::Hana

Solution

Catch error when the configuration file could not be parsed.

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}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NP: I would probably use more specific exception and warning level. But nothing critical

@varkoly varkoly merged commit 43bf951 into yast:SLE-15-SP4 Mar 19, 2024
4 checks passed
@yast-bot
Copy link

✔️ Internal Jenkins job #66 successfully finished
✔️ Created IBS submit request #324350

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants