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
[FEATURE] SR-IOV Support #2763
Comments
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#754 |
Can we also test the following NIC cards for compatibility with SR-IOV in Harvester?
|
Still testing but noticed #3977 - so opened that up and drafted a small pr on dashboard that 'might' fix it but tbd if that encompasses what's needed for the fix |
validation issue state:
error: true
message: >-
0/3 nodes are available: 3 Insufficient
mellanox.com/MT27800_FAMILY_CONNECTX5_VIRTUAL_FUNCTION. preemption: 0/3
nodes are available: 3 No preemption victims found for incoming pod.
name: scheduling
transitioning: false
uid: d5511be8-f257-4605-9659-8a1d495ef295 The VM with the virtual function attached never seems to start.
Referencing:
supportbundle_07b89afa-696a-430f-9b93-9808a2a6e499_2023-05-30T22-15-10Z.zip |
With an Intel 520/X520 series based PCI card, things look good locally being able to create the VFs on the card, have them attached to a VM, allow for the VM to have traffic routing through them, also setting up VLANs via the VF on the VM that comes from the physical device - tested locally with a X520 card, MicroTik CRS305-1G-4S+IN(Switch/Router/Bridge) that I recently purchased to connect to my existing Ubiquiti Unifi Gear, in Bridge Mode. 520-test.mp4On v1.2.0-rc1 😄 👍 |
@ibrokethecloud I've noticed some strange behavior with errors related to maintenance mode and running vms with sr-iov vfs, that are present on a node that is placed in maintenance mode, I've opened up: And also: |
@ibrokethecloud after checking 4015, things look great on Harvester Version: 2dc1dc0-dirty 😄 - Should I leave this open until #4017 is closed or should I go ahead and close this out? |
@irishgordo technically the underlying PF can be used, which is the point of the virtualization. I don't feel there is a plan to stop this behavior at the moment. |
@ibrokethecloud I've gone ahead and closed out #4017 as that is expected behavior 😄 |
Is your feature request related to a problem? Please describe.
A customer could not use their 10Gb NIC to it's full potential inside a VM, this prompted #992, but that ticket is now dedicated to tracking PCI Passthrough, not SR-IOV specifically.
Describe the solution you'd like
The ability to create VFs for SR-IOV-capable devices, then pass them through to VMs.
Describe alternatives you've considered
Additional context
This issue (#992) has lead to a lot of study, both of technical requirements and business requirements. While this is a feature that we are going to build, the PCI Passthrough feature is more generic and flexible, and is a dependency of this ticket. This is why we prioritized it and pushed the rest of the SR-IOV functionality into this new ticket.
The text was updated successfully, but these errors were encountered: