Skip to content

Networking plugin: failed to create veth pair ('veth0' : 'eth0') (12 - Object not found) #49

@anttikyl

Description

@anttikyl

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 or none.

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 or nat.

Actual Behaviour

The logs show:

0000000571.171655 ERR: < M:Netlink.cpp F:createVeth L:1167 > failed to create veth pair ('veth0' : 'eth0') (12 - Object not found)
0000000571.171704 ERR: < M:NetworkSetup.cpp F:setupVeth L:715 > failed to create veth pair for container 'asd'
0000000571.171820 ERR: < M:NetworkingPlugin.cpp F:createRuntime L:209 > failed to setup virtual ethernet device
0000000571.171913 WRN: < M:DobbyRdkPluginManager.cpp F:runPlugins L:630 > Non-required plugin networking createRuntime hook has failed. Continuing running other plugins.

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 or nat on the Raspberry Pi 3 Platco build.

Platform/Environment

  • Raspberry Pi 3 Model B v1.2
  • rdk-firebolt-mediaclient-image image, raspberrypi-cpc-mc machine, 2006_sprint branch.
  • Crun version: 0.14.1
  • Dobby version: 3.0 (master branch, commit 58ca105)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions