nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
93 stars 52 forks source link

[ERRO][UPF][Main] UPF Cli Run Error: open Gtp5g: open link: create: operation not supported #359

Open Rockneeraj opened 10 months ago

Rockneeraj commented 10 months ago

Setup: Single VM setup on EC2 created by following https://github.com/nephio-project/docs/tree/main/install-guide

Everything works fine till Step 6 on https://github.com/nephio-project/docs/blob/main/user-guide/exercises.md Step 7->Check UPF deployment, I am getting below error

ubuntu@ip-172-31-38-33:~$ kubectl -n free5gc-upf logs $UPF1_POD --context edge01-admin@edge01 RTNETLINK answers: File exists 2023-09-05T11:10:10Z [INFO][UPF][Main] UPF version: free5GC version: v3.2.1 build time: 2023-06-09T16:41:08Z commit hash: 4972fffb commit time: 2022-06-29T05:46:33Z go version: go1.20.5 linux/amd64 2023-09-05T11:10:10Z [INFO][UPF][Cfg] Read config from [/free5gc/config/upfcfg.yaml] 2023-09-05T11:10:10Z [INFO][UPF][Cfg] ================================================== 2023-09-05T11:10:10Z [INFO][UPF][Cfg] (factory.Config)(0xc0003d25f0)({ Version: (string) (len=5) "1.0.3", Description: (string) (len=17) "UPF configuration", Pfcp: (factory.Pfcp)(0xc0003e2fc0)({ Addr: (string) (len=11) "172.1.2.254", NodeID: (string) (len=11) "172.1.2.254", RetransTimeout: (time.Duration) 1s, MaxRetrans: (uint8) 3 }), Gtpu: (factory.Gtpu)(0xc0003e3170)({ Forwarder: (string) (len=5) "gtp5g", IfList: ([]factory.IfInfo) (len=1 cap=1) { (factory.IfInfo) { Addr: (string) (len=11) "172.3.1.254", Type: (string) (len=2) "N3", Name: (string) "", IfName: (string) "" } } }), DnnList: ([]factory.DnnList) (len=1 cap=1) { (factory.DnnList) { Dnn: (string) (len=8) "internet", Cidr: (string) (len=11) "10.1.0.0/24", NatIfName: (string) (len=2) "n6" } }, Logger: (factory.Logger)(0xc0003b6be0)({ Enable: (bool) true, Level: (string) (len=4) "info", ReportCaller: (bool) false }) }) 2023-09-05T11:10:10Z [INFO][UPF][Cfg] ================================================== 2023-09-05T11:10:10Z [INFO][UPF][Main] Log level is set to [info] level 2023-09-05T11:10:10Z [INFO][UPF][Main] starting Gtpu Forwarder [gtp5g] 2023-09-05T11:10:10Z [INFO][UPF][Main] GTP Address: "172.3.1.254:2152" 2023-09-05T11:10:10Z [ERRO][UPF][Main] UPF Cli Run Error: open Gtp5g: open link: create: operation not supported

Thankyou.

Regards NEERAJ

Rockneeraj commented 10 months ago

Team Please help me to resolve this issue, I am very exicited to see Nephio usecase running on our environment

henderiw commented 10 months ago

seems the GTP kernel module was not installed

gvbalaji commented 9 months ago

@Rockneeraj please see the comment above from Wim. Does it solve your issue?

Rockneeraj commented 9 months ago

Issue is resolved, I installed GTP manually.