linstor: cleanup diskless nodes on disconnect#8790
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #8790 +/- ##
============================================
- Coverage 13.16% 13.16% -0.01%
+ Complexity 9205 9203 -2
============================================
Files 2724 2724
Lines 258149 258170 +21
Branches 40235 40240 +5
============================================
- Hits 33987 33982 -5
- Misses 219856 219883 +27
+ Partials 4306 4305 -1 ☔ View full report in Codecov by Sentry. |
083d49c to
af48a83
Compare
|
@blueorangutan package |
|
@DaanHoogland |
|
@JoaoJandre , as @rp- describes this will prevent a bug being introduced. Can we add it to 4.18.2? |
@DaanHoogland sure, but some third party testing would be good. |
Anyway I can help here? |
@rp- , I have no way to test this (i think). @JoaoJandre do you use linstor? |
@rp- are you the only known linstor developer/user? @DaanHoogland do you know if we have anyone else in the community that works with linstor? |
I'm for sure the only Linstor-plugin dev, but we have some customers and I know Rohit has a Linstor cluster at home, but I guess already at 4.19... |
@Rohit, can you have a look at this? |
@DaanHoogland I think you meant @rohityadavcloud, right? |
|
@blueorangutan package |
|
@JoaoJandre a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9196 |
|
@DaanHoogland can we run the CI here? |
|
@blueorangutan test alma9 kvm-alma9 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-9761) |
|
@blueorangutan test |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9255 |
|
@blueorangutan test alma9 kvm-alma9 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9832)
|
6617b08 to
5a99e90
Compare
|
I have fixed a NPE if the device paths had been null (reported from Linstor, because a node was down) |
|
@blueorangutan package |
If disconnect is running on a diskless node, try to cleanup the resource.
5a99e90 to
4855ba7
Compare
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9295 |
|
@blueorangutan test alma9 kvm-alma9 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma9 mgmt + kvm-alma9) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9885)
|
|
@DaanHoogland can we merge this now? |
|
@rp- , this is causing some conflicts in merge forward. Can you advise how I think I know but please review in main once I have pushed. |
I put the cherry-picked/resolved here: https://github.com/LINBIT/cloudstack/tree/linstor-main-cleanup-diskless |
|
I think I got it right and running a test compile now. if that passes , I'll push. |
Description
If disconnect is running on a diskless node, try to cleanup the resource.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?
Moving/Stopping resources on a hyperconverged and non hyperconverged linstor cluster