Fast Path Provider Manager 1.1.0
Fast Patch Provider (FPP) Manager in version 1.1.0 provides the bump of the VPP base to version 22.02-rc.1,
which enables the renaming of the VPP interface. FPP also exposes new functionality of the initial external interface
management and IPFIX capabilities.
This version also makes it obligatory to use hugepages. Make sure to prepare your infrastructure and provide the proper number of hugepages to be allocated on the node level.
Starting from the 1.1.0 release, the default deployment method for FPP is Helm chart deployment.
For this release, the newer kernel (5.15+) and Kubernetes (1.22+) versions are not supported. For more details, see the Known issues section.
Features
Add external interface configuration
FPP Manager supports using VFs as external network interfaces.
To use it, VPPConfig should contain externalNetworkConfig section:
ifacePrefixshould match one or many interfaces defined instartup.conf.- FPP supports bonding on external interfaces.
- IP assignment should be used with per node targeting label in
VPPConfig(fpp-manager.cennso.com/plumbing-node: <node-name>) - Changes in
externalNetworkConfigwill cause manager to restart.
Use VPP 22.02-rc1 as a base, more extensive usage of hugepages
- In order to support IPFIX, VPP version was upgraded to
22.02-rc1. - VPP 22.02-rc1 requires at least 2G of hugepages allocated per fpp-manager
- By default fpp-manager uses hugepages for heap, stats segment and buffers
- The following environment variables can be set to a non-empty value to
selectively disable the use of hugepages for buffers, statseg, and the main
heap, respectively:
FPP_NO_BUFFER_HUGEPAGESFPP_NO_STATSEG_HUGEPAGESFPP_NO_HEAP_HUGEPAGES
- Recommended memory settings for fpp
v1.1.0:
Expose IPFIX capabilities
- To configure IPFIX exporter, IPFIXExporter CR can be used. Refer to documentation IPFIXExporter docs for example usage.
- Sending IPFIX data needs to be done over VPP interface. Kubernetes networks (like Calico) are not supporter yet.
- IPFIX collector needs to be available using FPP-CNI network.
Expose stats segment utilization metrics
New metrics are exposed:
- Stats segment size,
vpp_stat_seg_total_bytes - Stats segment used space,
vpp_stat_seg_used_bytes - Stats segment free space
vpp_stat_seg_free_bytes
Expose error, performance and connectivity metrics
For better debugging and performance profiling, new metrics are reported:
vpp_interface_errorsmetric exposes possible issues on interfaces like:- interface is down,
- bond - traffic on passive interface (in active-passive configuration)
- DPDK TX function error, TX packet drops
- memif no enough space in TX buffer
- tap: pending messages in TX ring
vpp_interface_no_tx_slots- per interface metric that shows performance bottleneckvpp_arp_sentandvpp_arp_hw_addr_not_match_l2_framewhich indicates connectivity issues, so possible configuration changes needed
Add interface rename for client's memifs in VPP
VPP 22.02 exposes new functionality for renaming interfaces. In the previous version
of fpp-manager, the interface name in VPP was different from that declared in Network
Attachment Definition. This was making the metrics section misleading, as generated
interface name was exposed instead of that specified in ifName.
FPP v1.1 enables vpp interface rename, so there is a understandable interface
name on vpp CLI level or in metrics.
Add Helm chart for FPP Manager
fpphelm chart is added to deploy fpp.- Multiple instances of fpp deployment should instantiate fpp chart multiple times
- CRDs have their own chart
fpp-crd fpp-supportchart with Service Monitor is added
Fixes
Fix fpp-cni binary overwrite conflict
This fixes an issue with FPP Manager pods failing to start when existing fpp-cni binary was being invoked by kubelet, which manifested itself with this error:
This fixes the following bug: #135Opens in a new tab
Properly update VPPInterface CR Status field
This fixes an issue with wrong swIfIndex in VPPInterface status. After
fpp-manager restart, status.swIfIndex had an old value, causing the following
error during reconciliation:
This fixes the following bug: #138Opens in a new tab
Remove VPPInterfaces belonging to dead pods
Upon startup, FPP now removes stale VPPInterface objects that belong to pods
that no longer exist. This fixes an issue that has been manifesting itself like
this in the FPP Manager logs:
This fixes the following bug: #137Opens in a new tab
Update VPP to include NAT checksum fix
Bump VPP base image to include fix for NAT-ED code checksum assertion for TCP RST packet.
Fix Routing Table reconcile process, enable table 0 manipulation
Do not reconcile VPPInterface with explicit table set to 0. This reduces
the number of unnecessary network reconfiguration, which caused network
being not reachable because of multiple routing table 0 flush. New approach
adds support to define routes in table 0.
Routing table reconcile now does not remove routes generated implicitly by VPP.
This fixes following bugs:
- fpp-manager#90Opens in a new tab
- fpp-manager#189Opens in a new tab
- fpp-manager#191Opens in a new tab
Known issues
Kernel 5.15 and newer are not supported
FPP 1.1.0 does not work with the newer kernel versions (5.15+), which is related to the constraints of
the new layout for the control groups (cgroups) v2 files. To check if FPP works with your kernel version,
connect to your machine and check if the /sys/fs/cgroup/cpuset/cpuset.cpus path
is present. If not, use the newer version of FPP, since your current version will not work.
Kubernetes 1.22+ is not supported
Since the support for the CustomResourceDefinition (CRD) apiVersion of apiextensions.k8s.io/v1beta1
was removed from Kubernetes API in release 1.22+, FPP 1.1.0 does not work on that cluster.
Please use the newer versions of FPP.
Migration guide
1.0 → 1.1
FPP Manager in version 1.0 was advised to be installed using JSONNET library.
FPP 1.1 version provides Helm chart as official and only way of deployment
of fpp-manager.
Using Helm chart instead of jsonnet lib
Example of converting fpputils params to chart values.yaml.
As an example deployment using jsonnet:
Above settings can be migrated to helm-based deployment with values.yaml:
Interface rename in VPP
After starting FPP 1.1 version, all VPPInterface objects will be fetched
and applied on fpp-manager. FPP 1.1 enables to rename the VPP interface
on the vpp instance.
To distinguish the tap interfaces on fpp-manager side, fpp-cni on
VPPInterface creation time concatenates generated name (liketap12) with NAD
interface name (sx1) to create VPPInterface.spec.ifName with a name of
tap12-sx1.
When fpp-cni in version 1.0 created VPPINterface object - there will be on
sx1 in VPPInterface.spec.ifName. So that means that there will be multiple
sx1 interfaces when executing show interface inside fpp-manager VPP console.
All already running workload on upgraded node will remain the network connectivity.
After workload recreation (delete of a pod), fpp-cni in version 1.1 will create
VPPInterface objects with distinguishable spec.ifName names.