Skip to content

detiber/reproducer

Repository files navigation

Reproducer

Prerequisites

Standalone tools

  • kind (v0.8.0+, Tested with v0.9.0)
  • kubectl (tested with v1.18.8)
  • tilt (v0.17.8+, tested with v0.17.9)

Setup

  • Bring up a new kind cluster
kind create cluster
  • Start tilt
tilt up

Bring up the worker VM

kubectl create -f deploy/kind/worker.yaml

What is expected

Worker vm is created and has an interface attached to a macvtap network via l2 connectivity

What happens

virt-launcher pod fails to create with the following error:

  Warning  Failed          12s   kubelet, kind-control-plane  Error: failed to generate container "3059716e18ca6af8de9c131d0fb190fc24f6ef2079b0215a62907e0138c910bc" spec: failed to generate spec: lstat /dev/tap14: no such file or director
  • Shelling into the kind container (docker exec -it kind-control-plane bash), /dev/tap14 does not exist
  • On the host machine, /dev/tap14 is present

It appears that either macvtap-cni is creating the tap device on the physical host rather than in the kind-control-plane container where the kubelet (and the device plugin) are running.

Teardown

kind delete cluster

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published