For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading User Plane Gateway 2.2, an older release. The newest release is 3.2. Read this page in 3.2

UPG Manager v2.0.0 Release Notes

Glossary

Terms used in this document:

  • CRD - Custom Resource Definition, a Kubernetes API object
  • CR - Custom Resource (an instance of Kubernetes Custom Resource)
  • NWI - Network Instance, a term used in 3GPP and in the UPF plugin

Features 🚀

Upgrade VPP version to 22.02-rc1, hugepages are now required

  • VPP version has been upgraded to 22.02-rc1 due to IPFIX requirements
  • VPP 22.02-rc1 requires at least 2G of hugepages allocated per UPG
  • there's enableHugepagesAllocation variable in the chart's values.yaml to enable the use of hugepages for the heap, stats and VPP buffers. By default, enableHugepagesAllocation is set to true
  • With enableHugepagesAllocation: true, the recommended minimal resource settings are:
yaml
  • With enableHugepagesAllocation set to false, UPG still requires 2Gi of hugepages, so recommended minimal resource setting in this case are:
yaml
  • When enableHugepagesAllocation is false, set hugepages-2Mi to 2Gi
  • When enableHugepagesAllocation is true, set hugepages-2Mi to heapsize + 2Gi

Add Helm chart for UPG Manager

  • upg helm chart is migrated from the upg-helm repository.
  • CRDs (Custom Resource Definitions) have their own chart upg-crd
  • upg-support chart is migrated from the upg-helm repository

Add UPGConfig CR with NWI configuration

  • Network Instance (NWI) must be created with UPGConfig Custom Resource (CR), not with UPG CLI
  • UPG chart generates the corresponding NWIs in the UPGConfig CR for epc / access, cp and sgi (multiple sgis for CG-NAT use-case)
  • Modifying UPGConfig causes the corresponding UPG instance to restart and lose all of the sessions, so modifying NWIs "on the fly" is not supported right now
  • Later versions of UPG will support updating UPGConfig and the NWIs in particular without restart

IPFIX support

  • To configure IPFIX exporter (one for each IPFIX collector), IPFIXExporter CR should be used
  • UPGConfig CR defines IPFIX configuration for each NWI
  • Refer to UPG deployment guide for a sample IPFIX configuration
  • IPFIX data can only be sent over VPP interface. Kubernetes network can't be used for that purpose unless FPP is used as the primary CNI in the cluster (which has not been tested or tried yet)
  • IPFIX collector needs to be available using FPP-CNI network
  • UPG exposes two IPFIX templates:
    • default - mainly created for TDF use-case, with NAT information
    • dest - used in PGW mode
  • IPFIX collectors are distinguish by their IP address, so only one collector per IP is supported currently (this is VPP internal limitation)

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, the following new metrics are reported:

  • vpp_interface_errors metric exposes possible issues on interfaces like:
    • an interface is down,
    • traffic on a passive bond member (in active-passive configuration)
    • DPDK TX function error, TX packet drops
    • tap: pending messages in TX ring
  • vpp_interface_no_tx_slots - not enough space in the memif TX ring (indicates possible performance bottlenecks)
  • vpp_arp_sent and vpp_arp_hw_addr_not_match_l2_frame which indicates possible connectivity issues

Use meaningful interface names

In the previous version of upg-manager, the interface names in VPP were different from those specified in the Network Attachment Definition. This was making the corresponding metrics misleading, as generated interface names like memif1/100 were being published.

UPG 2.0 uses name from the CNI config as the corresponding VPP interface name, there are meaningful interface names visible in the VPP CLI and in the metrics.

Below, the memif interface name will be set to the value o name specified in the Network Attachment Definition (grx):

text

Add ability to define PFCP rate limiter

  • Rate limit for the PFCP Session Report Requests can be specified via rateLimiterPPS in values.yaml
  • rateLimiterPPS: 50 means that max 50 PFCP Session Report Requests per second will be sent towards SMF

Fixes 🐛

Fixes in URR timers handling

Fix stopping random timers and warn about delayed URR timer events

This fixes the bug upg#104Opens in a new tab

Fix missing NAT metrics

NAT metrics were not present in UPG 1.4 release. The following NAT metrics are added UPG 2.0.0:

  • vpp_nat_pool_block_size
  • vpp_nat_pool_capacity
  • vpp_nat_pool_info
  • vpp_nat_pool_utilization

Known issues

Kernel 5.15 and newer are not supported

UPG 2.0.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.0.0 does not work on that cluster. Please use the newer versions of UPG-CRD.

No support for constant PCAP collection in the UPG 2.0 chart

FPP-based CNFs does not support kernel based pcap collection like previous versions of the UPG chart provided. That is why the sidecar container with pcap and rclone has been removed.

An alternative possibility for PCAPs collection is using SPAN interfacesOpens in a new tab, in FPP. Currently it was not validated by QA, so no effect on CPU or memory consumption is known.

UPG Overview dashboard can be installed only once per cluster

upg-support chart that includes UPG Overview Grafana dashboard should be installed only once per cluster.

ServiceMonitor can be deployed multiple times, but dashboard should be disabled, as in upg-support chart config values:

text

Migration guide

1.4 → 2.0

UPG 1.4 is deployed by upg-helmOpens in a new tab chart. UPG 2.0 chart includes following changes to deployment method:

  • No vxlanController support in UPG 2.0
  • FPP deployment is enabled by default, no fpp.enabled value
  • no upgAgent in UPG 2.0
  • no pcap and rclone support in UPG 2.0
  • resources are defined only for upg-manager
  • additionalNetworks moved from fpp to top level in values.yaml, or per UPG instance in instances.<name>.networking

For actual migration steps, please follow the instructions prepared for TDF migration guideBroken link.

KPIs

See the KPI document for the KPIs of UPG v2.0.0.