-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Bug fix : add check befor fencing #10039
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
Conversation
Resolve the issur : Should not shutting down a server which is already shut. Thanks for DaanHoogland which provide code.
add check befor fencing
|
Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
|
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/kvm/ha/KVMHAProvider.java
Outdated
Show resolved
Hide resolved
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/kvm/ha/KVMHAProvider.java
Outdated
Show resolved
Hide resolved
|
sorry to bug you with this, the linter says no. (just some trailing whitespace.) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10039 +/- ##
============================================
- Coverage 16.06% 16.06% -0.01%
- Complexity 12863 12864 +1
============================================
Files 5641 5641
Lines 493791 493794 +3
Branches 59858 59859 +1
============================================
- Hits 79327 79326 -1
- Misses 405683 405686 +3
- Partials 8781 8782 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@slavkap @weizhouapache any sugestions for testing? Also, I marked this for 4.21 @leo79901 , but it seems to me it can go onto 4.19. I think you'd like this fix sooner rather than later, right? if you work with git regularly this is an easy thing to do, but as you say you are not a developer: but these will change when you add work to it. Please let us know if you need help with this. |
…m/ha/KVMHAProvider.java Co-authored-by: dahn <[email protected]>
|
@DaanHoogland |
ai, yes. There has been a big logging change between 4.19 and 4.20 and you would indeed need to edit it. If you are planning to upgrade anyway and can life without till then you can change the commands to (changed to include the latest white space fix) |
|
Thanks really for your help. |
great @leo79901 , next step is to force push to your fork (git push --force) In the future it will be better to create a branch locally and create PRs from such a branch. You are now having your changes on your local branch called |
|
I'm terribly sorry for bothering you several times. I think I need to learn more about Git before submitting the PR. Could you please help me complete this operation this time? |
no problem @leo79901 . I saw your other PR as well. I will copy your branch and create a PR from your code. |
|
@leo79901 I created #10059 for you, and will close this one. cc @weizhouapache |
Description
Resolve the issur : Should not shutting down a server which is already shut.
Thanks for DaanHoogland which provide code.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
I am so sorry about this. I don't know much about Java, thus I have not tested...
How did you try to break this feature and the system with this change?