Closed taylor closed 5 years ago
BLOCKED by https://github.com/cncf/cnfs/issues/67
was blocked by #67 - 67 is completed
Running into some VPP errors when running on an Ubuntu 18.04 system.
Nov 09 04:02:48 cnfauto1804 vpp[18970]: /usr/bin/vpp[18970]: clib_elf_parse_file: open `linux-vdso.so.1': No such file or directory
Nov 09 04:02:48 cnfauto1804 /usr/bin/vpp[18970]: clib_elf_parse_file: open `linux-vdso.so.1': No such file or directory
Nov 09 04:02:48 cnfauto1804 vpp[18970]: /usr/bin/vpp[18970]: vlib_thread_init: cpu 32 is not available to be used for the 'workers' thread
Nov 09 04:02:48 cnfauto1804 /usr/bin/vpp[18970]: vlib_thread_init: cpu 32 is not available to be used for the 'workers' thread
Nov 09 04:02:48 cnfauto1804 systemd[1]: vpp.service: Service hold-off time over, scheduling restart.
Nov 09 04:02:48 cnfauto1804 systemd[1]: vpp.service: Scheduled restart job, restart counter is at 5.
Nov 09 04:02:48 cnfauto1804 systemd[1]: Stopped vector packet processing engine.
Create code to provision and install minimal VPP as a simple vSwitch
Goal: Create code that can deploy VPP idempotently on a Ubuntu 18.04+ host
Tasks
Reference and review:
Host optimization / tuning tasks:
[x] Enable iommu support in grub and reboot system after grub is updated
[x] Enable huge page support
[x] Update Mellanox role to support different driver versions from mellanox.com, OS versions needing support:
[x] Enable SR-IOV / VF on the mellanox
[x] Create role to turn on trust for VF, example
Note: device names and number of devices are system dependent
VPP tasks:
[x] Create VPP vSwitch playbook
[x] Create role for building VPP from source, see https://github.com/cncf/cnfs/issues/61#issuecomment-420459167
[x] Add support to the VPP role for starting, stopping and restarting the VPP service
[x] Create role to Enable DPDK for VPP
[x] Create role to configure VPP as a vSwitch
[x] Create working example setup.gate config file for VPP as a vSwitch
To manually test or debug
System setup
Testing example commands:
ping -I enp94s0f4 172.16.120.20
from 2nd hostarping -i enp94s0f4 172.16.120.20
from 2nd hostping -I enp94s0f4 172.16.120.10
from VPP hostarping -i enp94s0f4 172.16.120.10
from VPP host