linstor: Provide /dev/drbd/by-res/ resource paths to CloudStack#12300
linstor: Provide /dev/drbd/by-res/ resource paths to CloudStack#12300DaanHoogland merged 1 commit intoapache:4.20from
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #12300 +/- ##
=========================================
Coverage 16.23% 16.23%
- Complexity 13371 13375 +4
=========================================
Files 5657 5657
Lines 498860 498869 +9
Branches 60543 60544 +1
=========================================
+ Hits 81003 81006 +3
- Misses 408824 408831 +7
+ Partials 9033 9032 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
629b483 to
d499c33
Compare
|
@DaanHoogland sorry I missed to locations. |
but these are all? |
yes, all now |
Instead of using the basic /dev/drbd1000 minor number block device path, provide CloudStack with the actual resource path, that can also be linked back to the CloudStack volume.path
d499c33 to
49d3e54
Compare
|
@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]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16110 |
Not sure @DaanHoogland . My first attempt to setup Linstor failed. @rp- do you have any pointers for testing? I don't think the packages are available publicly. I tried building from source but hit a blocker. |
|
We host a public PPA with ready packages here: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack |
Thanks @rp- . I will give it a try tomorrow. |
|
Verified. domblklist gives the by-res/cs-{vol-uuid} path It points to the actual block device Should this go into 4.20 or main, considering this is an enhancement, although small? cc @rp- @DaanHoogland |
@abh1sar , as we are not taking responsibility of the 3rd party component, our only consideration would be “are there update requirements?”. Other than that it is up to the 3rd party provider (@rp- in this case) and I try not to care. Viewpoints may differ of course. Do you have any concern with this PR? |
Thanks @DaanHoogland. No concerns. I have tested it, this is good to go from my side. |




Description
Instead of providing the very basic
/dev/drbd{minorNr}drbd block device path provide theby-res path, that also includes the cloudstack volume.path
Prerequisite for #12218
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Spun up a fresh Linstor cluster, and checked the new path is used in the libvirt xml
How did you try to break this feature and the system with this change?