Orange-OpenSource / towards5gs-helm

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

Failure to Create UPF Container #97

Closed ChoB100 closed 9 months ago

ChoB100 commented 1 year ago

I cannot create a UPF container using kubectl.

image

I followed the free5gc official tutorial below.

This is my 5th try, but it's not working, what can I do to fix this?

s111753164 commented 1 year ago

I also encountered the same problem...

dknathalage commented 12 months ago

I am also encountering the same issue.

mickwubs97 commented 12 months ago

I have the same problem. I tried "kubectl describe --namespace free5gc pod [pod name] and got:

Normal AddedInterface 1s multus Add eth0 [10.244.0.169/24] from cbr0 Normal AddedInterface 1s multus Add n3 [10.100.50.233/29] from free5gc/n3network-free5gc-v1-free5gc-upf

seems that I am having problems adding n3 and eht0 (perhaps n6) interfaces.

I haven't setup ueransim (RAN) part, I think that's where the n3 problem comes from. But not sure about the eth0. Should I change it to a network interface name that is on the actual server?

Any suggestions?

Thanks.

Update: I think this might have something to do with network configuration. I have problem with eth1 configuration for N6 interface.

devopsjourney23 commented 11 months ago

I've created video on Complete Installation and basic test of this 5GC from scratch. You may look into this video.

https://www.youtube.com/watch?v=ZMGsWStz090&t=853s

krupalb commented 11 months ago

@devopsjourney23 what is your host machine based on and what hyperv are you using?

devopsjourney23 commented 11 months ago

@krupalb , I've tried Host Machine as both Windows and Ubuntu. Also Oracle VirtualBox/VMware works fine. If you still have any issues, ping me, will try to look into this together.

mickwubs97 commented 11 months ago

I solved this issue by using microk8s and setting the gateway IP of n6 network to the IP of the gateway of the host interface(not the IP of the actual interface). I tried a microk8s deployment on Ubuntu20.04 VM running on VirtualBox7.0 with a second interface on K8s node, the process is documented here.

hasanyeganeh commented 11 months ago

Also you may use different VM for UPF, in my case i wanted to use it for commercial test and i created different VM for UPF and deployed all CP function on kubernetees

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.