User Plane Gateway 2.1.0
The new release of User Plane Gateway (UPG) provides the following features and improvements:
- Configuration for Packet Forwarding Control Protocol (PFCP) heartbeats
- Operational logging of Session Management Controller (SMC) associations
- Logging improvements for network instance (NWI) and PFCP actions
- New metrics for the
UPG OverviewGrafana dashboard - Improvements for the
show upf sessionCLI command
The new version of UPG does not include any breaking changes. It is backward compatible with the 2.0.0 version. UPG Manager uses UPG VPP in version 1.6.0 and FPP Manager in version 1.1.0 as base images.
For this release, the newer kernel (5.15+) and Kubernetes (1.22+) versions are not supported. For more details, see the Known issues section.
To see UPG's key performance indicators (KPIs), go to the KPI document.
Features
Configuration for PFCP heartbeats
Previously, configuration for PFCP heartbeats was hard-coded to run 3 retries and wait for 10 second timeout each time. Now you can configure the timeout and the number of retries by adjusting these Helm chart values:
To verify the current settings, log in to the UPG container and run:
The console output looks like this:
Operational logging of SMC associations
From this release, UPG logs information about SMC associations, which includes information about established, released, lost, and suspicious associations (when heartbeats are resent after the expired heartbeat timers).
See the example of logs for the released and established associations:
Logging improvements for NWI and PFCP actions
Since this release, UPG logs every occurrence of adding and deleting a network instance (NWI). Also, every reconfiguration of PFCP settings is logged, which currently includes information about heartbeat settings: timeout and number of retries.
New metrics for the UPG Overview Grafana dashboard
We added the following metrics to the UPG Overview Grafana dashboard:
UPG Heap UsageandUPG Stats Segment Usagememory utilization added in the Resource usage row.UPG Interface Error Overviewtable withinterface_is_downandno_buffer_gsofields included in the UPG Instances Interfaces info row.- Error indicators row with
No free TX slotandARP Errorsmetrics added. NAT Pool Utilization,NAT Pool CapacityandNAT Pool Overviewpanels added in the NAT Info row.
Fixes
Improvements for the show upf session command
The previous version of UPG CLI did not accept hexadecimal characters while filtering. Only decimal characters were accepted, which caused a parsing error each time hexadecimal characters were provided:
In this release, we provided a fix that allows using hexadecimal characters in filtering by UP SEIDs.
Also, we added show upf session 0x...flows that displays the flows related to the given session.
By default, it displays 100 sessions. You can override the session limit by running:
If you want to display the unlimited number of sessions, use limit 0.
Known issues
Kernel 5.15 and newer are not supported
UPG 2.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 UPG 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 UPG, since the 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+, UPG-CRD 2.1.0 does not work on that cluster.
Please use the newer versions of UPG-CRD.
Migration guide
2.0.0 → 2.1.0
Caution
Updating the UPG Helm chart will restart the currently running UPG instance causing all active sessions to be dropped.
Follow these steps to upgrade UPG to version 2.1.0:
- Install the
upg-crdHelm chart in version 2.1.0. - Remove the
upg-supportHelm chart in version 2.0.0. This also removes theUPG OverviewGrafana dashboard. - Install the
upg-supportHelm chart in version 2.1.0 with the enabled dashboard. - Install the
upgHelm chart in version 2.1.0.