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

[RFE] longhorn v2 engine support (modules) #1526

Open
hwaastad opened this issue Aug 30, 2024 · 2 comments
Open

[RFE] longhorn v2 engine support (modules) #1526

hwaastad opened this issue Aug 30, 2024 · 2 comments
Labels
kind/feature A feature request

Comments

@hwaastad
Copy link

hwaastad commented Aug 30, 2024

Current situation

The longhorn v2 engine has uio_pci_generic and nvme-tcp as module dependencies. These modules are not available in Flatcar OS (3975.2.0)

Impact

Unable to use longhorn v2 engine which has a giant leap in performance.

Ideal future situation

These module an integrated part of flatcar OS

Implementation options

It should be possible to add modules as a sysext extension or by building modules and do something like this:
https://blog.thesparktree.com/customize-flatcar-kernel-part-3

Additional information

@hwaastad hwaastad added the kind/feature A feature request label Aug 30, 2024
@ader1990
Copy link

ader1990 commented Sep 2, 2024

Hello @hwaastad, we can check if the modules can be built and added to the base image and what is the size increase (we are a bit limited on how much bytes we can add to the initrd). Can you give more context on how did you install longhorn and whould be the outcome in case that the modules are installed vs are not installed?

I assume that the installation is in k8s context, and you are using a https://longhorn.io/docs/1.7.0/deploy/install/install-with-kubectl/#installing-longhorn?

Also, do you need the modules for both amd64 and arm64?

Thanks.

@hwaastad
Copy link
Author

hwaastad commented Sep 2, 2024

Hi,
yes this is k8s context.
Installed via helm.
I have already build the modules so this should work fine. I have yet not checked the increase in size.

Longhorn v1 data engine works OOB with flatcar.
Longhorn v2 data engine (1.7.0 ) has prerequisite modules vfio_pci (already exists), uio_pci_generic and nvme-tcp.
So v2 engine will not work without these modules.

My requirements are only amd64

/hw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A feature request
Projects
Status: 📝 Needs Triage
Development

No branches or pull requests

2 participants