Sounds almost too good to be true :-)
We are working on setting up a development environment. Once it's up we'll give this patch a spin and report back, probably early next week.

Cheers,
Muli
--
Muli Ben-Yehuda
Co-Founder and Chief Scientist @ http://www.lightbitslabs.com
LightOS: The Special Storage Sauce For Your Cloud


On Wed, Feb 23, 2022 at 7:26 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Switching to +devel

Browsing the code a bit, I think a good starting point would be
https://github.com/oVirt/vdsm/blob/500c035903dd35180d71c97791e0ce4356fb77ad/lib/vdsm/storage/managedvolume.py#L110
-                if volume_type not in ("rbd", "iscsi"):
+                if volume_type not in ("rbd", "iscsi", "lightos"):

And it's possible that it would be all that's required to make it work
on ovirt >=4.5

https://github.com/oVirt/vdsm/blob/500c035903dd35180d71c97791e0ce4356fb77ad/lib/vdsm/storage/managedvolume.py#L239
The path resolver might warn, but it looks like it would return
/dev/nvme0n so the generated udev rule should come out correct

I'm happy to assist if it turns out to be more challenging (and if not) :)


Lightbits Labs
Lead the cloud-native data center transformation by delivering scalable and efficient software defined storage that is easy to consume.

This message is sent in confidence for the addressee only.  It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to preserve this confidentiality, advise the sender immediately of any error in transmission and delete the email from their systems.