shiftstack / dev-install

13 stars 16 forks source link

Improve NFV support #152

Closed EmilienM closed 2 years ago

EmilienM commented 2 years ago

Adding a new parameter, dpdk_interface which allows to enable DPDK in dev-install.

It'll do the following:

Some changes for SR-IOV:

When SR-IOV is enabled, we will create a dedicated provider network where the SR-IOV nic will be plugged into.

This will allow to separate the provider networks from regular interfaces, SR-IOV and later DPDK.

It won't do the following:

Note: we had to partially import Ansible roles from tripleo-ansible. The reason is that we have to deal with Kernel & tuned before installing OpenStack otherwise the deployment of OpenStack will fail at the OVS DPDK step, since the kernel wouldn't have been configured and the host rebooted. So we imported the roles, run it in prepare_host step so when TripleO is being run, the Kernel & Tuned are already configured.

EmilienM commented 2 years ago

under testing via https://github.com/shiftstack/ci-configs/pull/40

EmilienM commented 2 years ago

I managed to finish a deployment but I still have errors with DPDK: https://paste.opendev.org/show/809591/ I think I'm close. Reviews are welcome.

EmilienM commented 2 years ago

I talked to @christophefontaine and I need to change the os-net-config, to do the following when DPDK is enabled:

EmilienM commented 2 years ago

When enabling DPDK, I'm having DHCP issues on non DPDK networks (SR-IOV, hostonly and tenant networks), I'll investigate that before we merge this one.