Skip to content
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

vagrant setup fail witrh libvirt provider... #97

Closed
mcarbonneaux opened this issue Mar 25, 2020 · 2 comments
Closed

vagrant setup fail witrh libvirt provider... #97

mcarbonneaux opened this issue Mar 25, 2020 · 2 comments

Comments

@mcarbonneaux
Copy link

mcarbonneaux commented Mar 25, 2020

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]: [email protected]: 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]: [email protected]: Unit entered failed state.
Mar 26 00:45:51 director2 systemd[1]: [email protected]: Failed with result 'exit-code'.
Mar 26 00:45:51 director2 systemd[1]: [email protected]: 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]: [email protected]: 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]: [email protected]: Unit entered failed state.
Mar 26 00:45:51 director2 systemd[1]: [email protected]: Failed with result 'exit-code'.
@mcarbonneaux
Copy link
Author

mcarbonneaux commented Apr 27, 2020

i've resolved the last one in using e1000 driver in libvirt conf virt.nic_model_type = "e1000".

i've found many other problem, like interactive apt installation that not build dpdk driver using DEBIAN_FRONTEND=noninteractive before apt-get install to resolve.

lldb v9 that do not whant to install dev part that not exist in llvm stretch repo... i've used v10 in place.

@mcarbonneaux
Copy link
Author

my pool request are her : #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant