-
Notifications
You must be signed in to change notification settings - Fork 64
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
SDN labs not working on macOS with Docker Desktop. openvswitch module not found #314
Comments
Dear @michele-segata, Thanks for reaching out and noticing the problem! Probably, the I'll further investigate the issue and I will come out with a solution as I find it. |
Hi @michele-segata, Currently, there is no official solution neither from Docker nor from OpenVSwitch, but a simple workaround is to bypass the I am attaching a patched version of the script that adds a GitHub does not allow to upload a bash script, so I renamed it in To use it:
Let me know if this solution works. If so, we will plan to add a patch in the Cheers, |
Hi @Skazza94 |
Hi @michele-segata, Cheers, |
Operating System
macOS Sonoma 14.6.1
Kathará Version
3.7.6
Bug Description
The SDN labs do not work because OpenVSwitch kernel modules are not found. In particular, this is the log found in the switch terminal:
This seems to be related with docker desktop. Starting from a certain version it seems like the openvswitch module is built in (I saw it here).
Indeed, by listing modules, openvswitch can be found
find /lib/modules | grep openvswitch /lib/modules/6.1.0-26-rt-arm64/kernel/net/openvswitch /lib/modules/6.1.0-26-rt-arm64/kernel/net/openvswitch/openvswitch.ko /lib/modules/6.1.0-26-rt-arm64/kernel/net/openvswitch/vport-gre.ko /lib/modules/6.1.0-26-rt-arm64/kernel/net/openvswitch/vport-vxlan.ko /lib/modules/6.1.0-26-rt-arm64/kernel/net/openvswitch/vport-geneve.ko
but it cannot be loaded, because it is being searched in the wrong directory
modprobe openvswitch modprobe: FATAL: Module openvswitch not found in directory /lib/modules/6.10.4-linuxkit
Steps To Reproduce
Simply run one of the emulations, for example:
cd Kathara-Labs/main-labs/sdn-openflow/pox/01-pox-controller kathara lstart
Expected Behavior
The switch should simply load the kernel module and run.
Check Command Output
No response
The text was updated successfully, but these errors were encountered: