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

Make Open vSwitch (Ovs) Bridge network support a standalone dracut module #30

Open
coiby opened this issue Aug 6, 2024 · 2 comments
Open

Comments

@coiby
Copy link
Member

coiby commented Aug 6, 2024

We can make a standalone dracut module out of the commit 224d310 ("Support setting up Open vSwitch (Ovs) Bridge network"). In order for our kdump dracut module tell dracut to include the future ovs dracut module, we need to move the logic of detecting if it's an OVS bdrige to either the check function or mkdumprd.

@coiby
Copy link
Member Author

coiby commented Oct 16, 2024

As reminded by @daveyoung, we may only install necessary files instead of all package files from openvswitch into kdump initramfs.

@daveyoung
Copy link
Contributor

Looks like below files are probably useful, but I suspect there are still files we can strip from the list. @coiby can you add the ovs reviewer to have a look? We only need necessary binaries, setup scripts, config files, the libraries will be added by dracut-install automatically. No need the docs and build related files.

/usr/bin/ovs-appctl
/usr/bin/ovs-dpctl
/usr/bin/ovs-ofctl
/usr/bin/ovs-pki
/usr/bin/ovs-vsctl
/usr/bin/ovsdb-client
/usr/bin/ovsdb-tool
/usr/bin/vtep-ctl
/usr/sbin/ovs-vswitchd
/usr/sbin/ovs-vswitchd.nodpdk
/usr/sbin/ovsdb-server

/etc/openvswitch/*
/run/openvswitch
/etc/sysconfig/openvswitch

/usr/lib/systemd/system/openvswitch.service
/usr/lib/systemd/system/ovs-delete-transient-ports.service
/usr/lib/systemd/system/ovs-vswitchd.service
/usr/lib/systemd/system/ovsdb-server.service
/usr/lib/sysusers.d/openvswitch.conf
/usr/lib/udev/rules.d/91-vfio.rules

/var/lib/openvswitch
/var/lib/openvswitch/pki
/var/log/openvswitch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants