-
Notifications
You must be signed in to change notification settings - Fork 42
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
Networking plugin: failed to create veth pair ('veth0' : 'eth0') (12 - Object not found) #49
Comments
The error I can replicate the issue on the Vagrant VM by passing a garbage pid to the function. I've checked with a custom build of the networking plugin on the RPI to confirm that the pid passed to the function is the correct one, and I can confirm that it is. I then followed this guide to use strace and pyroute2 to check the system calls and decrypt netlink messages. The output of RPI strace (sendmsg) -> pyroute2 -> decrypt output:
Then looking at the same exact message on the Xi1 2006_sprint build: RPI strace (sendmsg) -> pyroute2 -> decrypt output:
The Looking further into the contents, it looks like the Xi1's message contains the expected pid (0x35, 0xe5 = 13797), but the message of the RPi does not (expecting 13259 = 0xcb, 0x33). The message content of the RPi is also 4 bytes shorter than the Xi1. This to me indicates that the pid is not being sent in the message correctly on the RPi, causing the |
Description
Using a Raspberry Pi 3 RDK build, the networking plugin fails to create a veth pair on container launch.
Visible with network types
nat
ornone
.Workaround is to only use
open
network type to circumvent having to create a veth device.Expected Behaviour
Container launches fine with no errors, creating a network of type
none
ornat
.Actual Behaviour
The logs show:
Container starts, but networking isn't working as expected, because the plugin didn't finalise setup.
Steps to Reproduce
Start any container with networking plugin type set as
none
ornat
on the Raspberry Pi 3 Platco build.Platform/Environment
rdk-firebolt-mediaclient-image
image,raspberrypi-cpc-mc
machine,2006_sprint
branch.The text was updated successfully, but these errors were encountered: