Orange-OpenSource / towards5gs-helm

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

Gtp5g: open link: create: operation not supported #52

Closed rveerama1 closed 1 year ago

rveerama1 commented 2 years ago

I am facing an issue while deploying data plane.

2022-09-01T12:13:54Z [INFO][UPF][Cfg] ================================================== 2022-09-01T12:13:54Z [INFO][UPF][Main] Log level is set to [info] level 2022-09-01T12:13:54Z [INFO][UPF][Main] starting Gtpu Forwarder [gtp5g] 2022-09-01T12:13:54Z [INFO][UPF][Main] GTP Address: "10.100.50.233:2152" 2022-09-01T12:13:54Z [ERRO][UPF][Main] UPF Cli Run Error: open Gtp5g: open link: create: operation not supported

dmesg doesn't show any warning messages. What could be the issue? has anyone faced similar issue?

wangzhigang1999 commented 1 year ago

You may need to build and add the Gtp5G to linux kernel, see https://github.com/PrinzOwO/gtp5g.

raoufkh commented 1 year ago

Personally I use this https://github.com/free5gc/gtp5g

wangzhigang1999 commented 1 year ago

We use this repo too,and it works. Check the "/etc/modules" file, which contains a list of modules you installed and shows that if you add a module into kernel, you must reboot your machine to make it available.

Maybe you need to reboot your machine (kubernetes node instead of pod, and the gtp5g should be installed in the node instead of pod).

rveerama1 commented 1 year ago

using v0.3.2 of https://github.com/free5gc/gtp5g and rebooted the machine, works now.