Switch to OVS with DPDK support if required on Debian#882
Open
dahoat-sprecher wants to merge 3 commits intoseapath:mainfrom
Open
Switch to OVS with DPDK support if required on Debian#882dahoat-sprecher wants to merge 3 commits intoseapath:mainfrom
dahoat-sprecher wants to merge 3 commits intoseapath:mainfrom
Conversation
On VM startup, the directory /var/run/openvswitch/vm-sockets is expected to exist. However, it is located on a temporary file system. Therefore, the seapath-config_ovs service unit is modified to create it before service startup. Signed-off-by: Daniel Hofer <daniel.hofer@sprecher-automation.com>
Ansible detects the usage of DPDK in the Open vSwitch config per node and switches between the ovs binary with or without DPDK support accordings using the update-alternatives command. This is only done on Debian. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Daniel Hofer <daniel.hofer@sprecher-automation.com>
The fix for the socket directoriy's permissions only works for Debian. Therefore, the systemd unit file was converted into a template and the target user defined using a variable. Additionally, the module vfio-pci is loaded on startup. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Daniel Hofer <daniel.hofer@sprecher-automation.com>
80a78cb to
2494865
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello to All,
As discussed in #872, this PR makes sure that:
libvirt-qemu, All others:qemu)Additionally:
vfio-pciis loaded on startupBest regards,
Daniel