Orange-OpenSource / towards5gs-helm

Helm charts for deploying 5G network services on Kubernetes
Other
167 stars 130 forks source link

Please update docker images used by free5gc (UPF segfault issue) #35

Closed MichalzDev closed 1 year ago

MichalzDev commented 2 years ago

Hi, Kindly ask you to update or provide Dockerfiles, especially for UPF. We have huge issue with free5gc UPF. Issue description: When created/register inside UERANSIM UE pod more than 10 ue instances ( and tunnel interfaces) UPF throws segfault error and machine is rebooting immediately.

UPF logs: (error chain started when device/connection nr.11 and each subsequent one is added):

upf_error

Kernel logs: kernel_logs

In changelog at free5gc/upf github exist possible solution that probably fix this. It was merged recently after release tag. (https://github.com/free5gc/upf/commit/c2b30d14a12e1391853c3513f291ae5fcac65994)

raoufkh commented 2 years ago

Hello

Thank you for this info I was facing the same problem with Free5GC

Can you confirm that this commit is under the latest release of Free5GC? I will do the update

MichalzDev commented 2 years ago

According to git log from free5gc/upf this patch is not included in newest release but it is on main branch

gitlog

Also today free5gc/free5gc got new release v3.1.1. It might be good idea to update all images to latest release and create 1 additional image for UPF, with source from master (not v1.0.3), to check if that newest commit really fix this issue

raoufkh commented 2 years ago

I will update Free5GC to v3.1.0 and then to v3.0.1 which has been released 3 days ago. Do you think this will resolve the problem?

MichalzDev commented 2 years ago

I hope so, if not I will open this issue on free5gc github because this is major flaw

raoufkh commented 2 years ago

The v3.1.1 of Free5GC is now available on the main branch. Hopefully this will solve the problem. Otherwise, you can build upf image manually and override our chart values to make use of your image. Updating only UPF is really hard for me because in our CICD chain we expect updates of the whole project I'm sorry of that.

Bests Abderaouf

MichalzDev commented 2 years ago

Unfortunately the issue still exist but now it is not causing reboots and I have got slightly different errors:

upf_new_error

My guess is that is due to gtp5g module. I will open this issue on official free5gc github page. I noticed that you have added open5gs-500UEs-values.yaml . Are multiple UE's working correctly on Open5gs ?

MichalzDev commented 2 years ago

I asked about it on free5gc git (https://github.com/free5gc/free5gc/issues/344) and got response that worked. You have to increase buffer size in in one of UPF source file.

raoufkh commented 1 year ago

The idea is to either ask the free5Gc community to put this information in the configuration in future releases or build your proper docker image for the UPF and use it with our project

raoufkh commented 1 year ago

I'll let you know when the Dockerfiles are shared but in the meantime you can use the one from free5gc-compose project for example.