User Plane Gateway 2.5.0
The new release of User Plane Gateway (UPG) provides the following features and improvements:
- Update VPP to 22.10
- Add metrics:
vpp_upf_timers_missedandvpp_sys_loops_per_second - Docs: add
upgandupg-supporthelm chart docs to docs/installation - Remove trailing zeros from the NAT pool name in metrics
- Fix random PFCP association loss
- Fix memory leak
UPG uses Fast Path Provider (FPP) in version 1.3.9 and UPG-VPP in version 1.11.0.
There are no breaking changes in UPG CRD between 2.4.0 and 2.5.0.
Features
Update VPP to 22.10
UPG 2.5.0 uses the new version of VPP - 22.10. It is the same version that is used by FPP 2.X.
Add metrics: vpp_upf_timers_missed and vpp_sys_loops_per_second
New metrics exposed by UPG:
-
vpp_upf_timers_missed- number of timers missed for more than five seconds, helps to diagnose if UPG reporting in Usage Reports Request or PFCP Association events includes proper timestamps and timings. This metrics is exposed by UPG-VPP1.11.0. -
vpp_sys_loops_per_second- number of VPP worker loop cycles per second. This metric helps you diagnose if UPG is overloaded. It is exposed by FPP1.3.8. See the corresponding documentation for metric interpretation.
The vpp_sys_loops_per_second metric is available on the UPG Overview Grafana dashboard, in the Vector processing row. The vpp_upf_timers_missed metric is located in the Error indicators row.
Fixes
Remove trailing zeros from the NAT pool names
Up until now, UPG was publishing NAT metrics with trailing zeros in the name label, for example:
The above zeros were seen when fetching the metrics manually. The Prometheus scraper and Grafana Dashboard were not impacted by these trailing zeros.
UPG 2.5.0 fixes this situation and now the NAT pool name in a metric label is trimmed from the trailing zeros.
Fix random PFCP association loss
UPG 2.5.0 fixes the issues of dropping the PFCP association by keeping the flows in a doubly linked list. This helps reduce the load when a single session has many flows that are expiring. This reduces the overload. UPG does not crash and handles properly the PFCP association events.
This fix is provided by UPG-VPP release 1.11.0.
Fix memory leak
UPG 2.5.0 disables by default VPP API trace. This option is removed to eliminate memory leaks, as API traces use more memory by design. It can be activated for debugging purposes by setting vpp.traceAPICalls: true in the UPG Helm chart values.yaml file.
This fix is provided by FPP 1.3.9.
Migration guide
2.4.X → 2.5.0
Caution
Updating the UPG Helm chart restarts the currently running UPG instance, causing all active sessions to be dropped.
Caution
UPG 2.5.0 requires FPP CRD in version 1.3.4 or higher installed on the Kubernetes cluster.
Follow these steps to upgrade UPG to version 2.5.0:
- Install the
upg-crdHelm chart in version 2.5.0. - Ensure that the FPP CRD in version 1.3.4 or higher is installed on the Kubernetes cluster.
- Remove the
upg-supportHelm chart in version 2.4.X. This also removes theUPG OverviewGrafana dashboard. - Install the
upg-supportHelm chart in version 2.5.0 with the enabled dashboard. - Remove the
upgHelm chart in version 2.4.X. - Install the
upgHelm chart in version 2.5.0.