Closed mbabitski-t closed 3 months ago
I'm wondering which virtual machine do you use and how do you initialize the network interface?
@krizhanovsky VM is Ubuntu 22.04.3 LTS (GNU/Linux 5.10.35.tfw-4c9ba16 x86_64) QEMU libvirtd.
Network interface is initialized by LXD every time a container with the following config is started, and LXD removes the interface after container is stopped.
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
Do you run Tempesta FW inside the container, is this container just runs inside the VM with Tempesta FW?
Container just runs inside VM with Tempesta FW.
I catched this error on ff0f02145172b92794ef3cd086a12af737caa793
Tempesta commit, but after rebuilding on master and returning back to the commit it was gone. No LXD, just my usual VM on Proxmox.
@voodam the error is caused by a buggy tfw_lib.sh
shell script and should not be tied to a specific TempestaFW version. Maybe network interfaces on your VM have been reconfigured between builds/reboots.
I think this will be fixed by https://github.com/tempesta-tech/tempesta/pull/2076
So I move it to 0.9 as #2075
Scope
tempesta.sh
script callstfw_lib.sh
tfw_lib.sh
seesveth8d3e29bb@if4
interface, tries to access/sys/class/net//veth8d3e29bb@if4/queues/rx-*/rps_cpus
/sys/class/net/veth8d3e29bb
exists.Possible fix
Remove everything after the
@
in the interface name when accessing/sys
.