Skip to content

vagrant setup fail witrh libvirt provider... #97

@mcarbonneaux

Description

@mcarbonneaux

i'm on ubuntu 20.04 with vagrant 2.2.6 with libvirt.

i try to use vagrant to setup a test explained in https://github.com/github/glb-director/blob/master/docs/setup/example-setup-vagrant.md.

my first problem has been with /vagrant that are configured with nfs, and in server they don't found the vm ip to configur the nfs exports... i've added the next line to overide nfs default configuration (added after src/glb-wireshark-dissector sync folder):

config.vm.synced_folder ".", "/vagrant", type: 'rsync'

then when try to install dpdk-rte-kni-dkms dpdk-igb-uio-dkms they cannot because they are not authenticated package....
i've added "--allow-unauthenticated" on apt install.

sudo apt install -y --allow-unauthenticated dpdk-rte-kni-dkms dpdk-igb-uio-dkms

but after the rte_kni and igb_uio are not in kernel module directory...

then i found that memory and cpu are sized only on virtualbox provider... because i've seen many fork fail...

i've added the rigth size also for libvirt provider:

v.vm.provider "libvirt" do |vb|
  vb.cpus = 3
  vb.memory = "2048"
end

after the kernel module load correctly.

after the interface name are not ethx in last debian image... now are ensxxx...

i've changed eth1 with ens6 in Vagrantfile and ./script/helpers/configure-vagrant-director.sh.

now i'm blocked on director2 xdp that say this error message:

Mar 26 00:45:51 director2 xdp-root-shim[11671]: libbpf: load bpf program failed: Argument list too long
Mar 26 00:45:51 director2 xdp-root-shim[11671]: libbpf: failed to load program 'xdp-root'
Mar 26 00:45:51 director2 xdp-root-shim[11671]: libbpf: failed to load object '/usr/share/xdp-root-shim/tailcall.o'
Mar 26 00:45:51 director2 xdp-root-shim[11671]: Could not load '/usr/share/xdp-root-shim/tailcall.o'
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 00:45:51 director2 systemd[1]: Failed to start XDP Root Shim provides a root array to bind and replace XDP programs on a given interface.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Unit entered failed state.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Failed with result 'exit-code'.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Service hold-off time over, scheduling restart.
Mar 26 00:45:51 director2 systemd[1]: Stopped XDP Root Shim provides a root array to bind and replace XDP programs on a given interface.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Start request repeated too quickly.
Mar 26 00:45:51 director2 systemd[1]: Failed to start XDP Root Shim provides a root array to bind and replace XDP programs on a given interface.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Unit entered failed state.
Mar 26 00:45:51 director2 systemd[1]: xdp-root-shim@ens6.service: Failed with result 'exit-code'.

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