Orange-OpenSource / towards5gs-helm

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

UERANSIM deployed, can't ping from root on the pod #21

Closed MrBurawski closed 1 year ago

MrBurawski commented 2 years ago

Hello, I am at loss to perform any testing with my cluster. I have free5gc, ueransim installed and running: image

I can access UE pod and run "ip address" command: image

However, I can't run any meaningfull commands since they appear to be not permitted: image

I don't know wheter tunl0 is a corretly created TUN interface. Should i expect to see there something else? I tried to do something to "exec" in privileged mode (which is allowed on the cluster) or smth similar, but it didn't solve the problem. What can it be? I attach the output of the "describe" for the UE-pod. There are some messages about bad connectivity which were due to the UE-pod scheduled on the node whcih was unreachable. Currently UE is deployed on the CONTROL_PLANE node. I am not sure whether there isn't something wrong with IP which it displays, since it's the external interface of the control node. Thank You in advance for any kind of advice UE-pod describe.txt .

raoufkh commented 2 years ago

Hello @MrBurawski

The interface that should be created in the UE Pod is called uesimtun0. If it is not created, it means that the PDU session has not been properly created. So can you show logs of gNB and free5GC functions (AMF, SMF, UPF) please?

Regards, Abderaouf

MrBurawski commented 2 years ago

Hello @raoufkh Here are the logs of AMF and results of pod describe: image AMF.txt

Logs of the SMF and pod describe: image SMF.txt

Logs of the UPF and pod describe: image UPF.txt

As I see, there is some problem in the UPF logs which seems to be related to the message about the iptables, is that so?

raoufkh commented 2 years ago

Hello @MrBurawski

I've never seen this kind of error on the UPF. Maybe the idea is to post that on the Free5GC forum. By looking at internet, it seems that this is a system call error in C language https://github.com/travisghansen/fanout/issues/19

raoufkh commented 1 year ago

This issue may be solved by using the last available version of Free5GC (UPF is written in Go instead of C)