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.5] Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889) #1228

Conversation

liangxin1300
Copy link
Collaborator

@liangxin1300 liangxin1300 commented Aug 3, 2023

  • Fix bsc#1213889: don't try to get DC when local service is unavailable
  • Create nested functions to make the whole process clear
  • Support checking and setting dlm option on remote node

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (eb6a2dd) 52.38% compared to head (1fcb08c) 52.40%.
Report is 11 commits behind head on crmsh-4.5.

Files Patch % Lines
crmsh/ui_cluster.py 77.14% 8 Missing ⚠️
crmsh/history.py 40.00% 6 Missing ⚠️
crmsh/utils.py 82.14% 5 Missing ⚠️
crmsh/prun/prun.py 50.00% 4 Missing ⚠️
crmsh/report/utillib.py 72.72% 3 Missing ⚠️
crmsh/bootstrap.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           crmsh-4.5    #1228      +/-   ##
=============================================
+ Coverage      52.38%   52.40%   +0.01%     
=============================================
  Files             78       78              
  Lines          25097    25115      +18     
=============================================
+ Hits           13148    13162      +14     
- Misses         11949    11953       +4     

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

@liangxin1300 liangxin1300 force-pushed the 20230803_stop_cluster_all_crmsh45 branch 5 times, most recently from fe55ace to 384af5c Compare August 10, 2023 07:04
@liangxin1300 liangxin1300 changed the title [WIP] [crmsh-4.5] Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889) [crmsh-4.5] Fix: ui_cluster: Improve the process of 'crm cluster stop' (bsc#1213889) Aug 10, 2023
@liangxin1300 liangxin1300 force-pushed the 20230803_stop_cluster_all_crmsh45 branch from 384af5c to 07004dd Compare August 10, 2023 08:22
@liangxin1300
Copy link
Collaborator Author

backport #1232

@liangxin1300 liangxin1300 force-pushed the 20230803_stop_cluster_all_crmsh45 branch 2 times, most recently from caf3d25 to d992cfd Compare August 14, 2023 07:04
@liangxin1300 liangxin1300 force-pushed the 20230803_stop_cluster_all_crmsh45 branch 2 times, most recently from d49b7eb to 9d19c91 Compare October 26, 2023 06:36
- Fix bsc#1213889: don't try to get DC when local service is unavailable
- Split into small functions to make the whole process clear
- Support checking and setting dlm option on remote node
@liangxin1300 liangxin1300 force-pushed the 20230803_stop_cluster_all_crmsh45 branch from 9d19c91 to 1fcb08c Compare December 11, 2023 03:29
@liangxin1300 liangxin1300 merged commit 89bb8cc into ClusterLabs:crmsh-4.5 Dec 12, 2023
29 checks passed
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