omec-project / upf

4G/5G Mobile Core User Plane
169 stars 104 forks source link

Possible need to revert PR #698 #701

Closed gab-arrobo closed 1 year ago

gab-arrobo commented 1 year ago

PR #698 bump python from 3.11.3-slim to 3.11.4-slim in the Dockerfile. I tested it before approving the PR. However, today, the deployment of the UPF is failing with a message saying that it cannot locate package "libbpf0". When reverting PR #698 to python 3.11.3-slim, everything works fine.

I am going to dig deeper into the issue and based on that decide how to proceed.

gab-arrobo commented 1 year ago

In python:3.11.4-slim, which runs Debian 12 (bookworm), libbpf0 does not exist. Instead, libbpf1 exists. However, after installing libbpf1, bess complains that libbpf.so.0 is not found, but since libbpf1 is installed, the shared library to look for should be libbpf.so.1. For now, I am going to downgrade the Docker image used in the Dockerfile from python:3.11.4-slim to python:3.11.3-slim.