Closed ubaumann closed 1 month ago
Hi @ubaumann, unfortunately it seems it's not only the linux headers/modules missing, but the procfs is not mounted/not correctly exposing all the parameters required for vyos to work.
IIRC, it's also not possible to load additional kernel modules from a devcontainer, and vyos requires multiple of them (that's why the /lib/modules mountpoint for vyos container).
can you please try a modprobe vrf
or lsmod
from the devcontainer?
(side note: it's not enough to add to the container the modules related to the kernel shipped with the container distro image, vyos requires the modules of the kernel running on the host)
BTW, I see no issue in adding the package you spotted, but we also need to write somewhere in the documentation (device caveats?) what are the limitations of VyOS on a devcontainer.
If you have a device running it could be great if you can do some more testing and see what's working and what is not
Hi @ubaumann, like @ssasso I see no problem adding that package, but we have to make sure it solves the problem in the target environment (= GitHub Codespaces). Unfortunately, you cannot load additional modules within Codespaces Ubuntu instance, so if a container depends on either having a kernel module like VXLAN or being able to load one, it will probably fail.
However, if VyOS works for you in Codespaces after that fix, let's do it (plus documenting the limitations).
I am using the netlab devcontainer with Codespaces and when I start a topology with VyOS, I get the following error:
To be able to start the container I needed to install
linux-headers-generic
:When inspecting the container logs I see the following errors:
I assume I can ignore the errors for now. The router seems to work. At least OSPF and BGP is up and the ping works.
Can we add
linux-headers-generic
to the devcontainer for additional support? It increases the image size by approximately 64.6 MB.Regards, Urs