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

[crmsh-4.6] Fix: upgradeutil: refine error handling (bsc#1226147, bsc#1223371) #1457

Merged

Conversation

nicholasyang2022
Copy link
Collaborator

Getting upgrade seq from remote node may fails for various reasons.
Previous code handles SSH problems gracefully but other problems are
note handled and turn into misleading error messages.

This commit handles those problems in the same way in which SSH problems
are handled: output detail information to debug log and skip upgrading.
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 7 lines in your changes missing coverage. Please review.

Project coverage is 67.44%. Comparing base (565d0db) to head (d577c68).
Report is 3 commits behind head on crmsh-4.6.

Additional details and impacted files
Flag Coverage Δ
integration 53.10% <50.00%> (+0.04%) ⬆️
unit 49.90% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
crmsh/upgradeutil.py 83.68% <50.00%> (-1.92%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nicholasyang2022 nicholasyang2022 marked this pull request as ready for review June 17, 2024 05:09
@liangxin1300 liangxin1300 merged commit 88b0c50 into ClusterLabs:crmsh-4.6 Jun 17, 2024
30 of 31 checks passed
@nicholasyang2022 nicholasyang2022 deleted the bsc_1226147_4.6 branch June 17, 2024 07:00
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.

2 participants