Closed sam-sre closed 1 year ago
Hello Sam!
I just tried to replicate the same deployment by following the tutorial you mentioned. It is working perfectly for me: I tried it in our Kubernetes cluster as well as in a local kind cluster.
Can you please give us further details about your Kubernetes environment so we can try to help you??
Hi @mmarquez999
Our lab testing environment consists of : 2 Vagrant boxes (1 Control plane, 1 Worker), both are (generic/ubuntu2004) deployed inside a large VM (Ubunto).. Ansible is automating the whole deployment via kubeadm + Helm + Cilium CNI (SCTP enabled)..
Kernel Version
Both Vagrant Boxes are
Linux kube1 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.0", GitCommit:"b46a3f887ca979b1a5d14fd39cb1af43e7e5d12d", GitTreeState:"clean", BuildDate:"2022-12-09T16:23:44Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.5", GitCommit:"804d6167111f6858541cef440ccc53887fbbc96a", GitTreeState:"clean", BuildDate:"2022-12-08T10:08:09Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"linux/amd64"}
cilium version
cilium-cli: v0.12.12 compiled with go1.19.4 on linux/amd64
cilium image (default): v1.12.5
cilium image (stable): v1.12.5
cilium image (running): v1.12.5
Hi @sam-sre
Last time I searched about cilium, I found that it does not support SCTP but, thanks to your issue, I can now see that it is a beta feature (https://docs.cilium.io/en/latest/configuration/sctp/#sctp). I don't know if its restrictions affect the connectivity of the deployment. Here you can find more information about it: https://github.com/cilium/cilium/issues/20490
If you can change the CNI and test the deployment, we can be sure that it is Cilium's fault or it is another problem.
Hi @avrodriguezgrad
Correct, Cilium didnt support SCTP before. I used Cilium version: 1.13.0-rc3
for my setup and enabled SCTP..
Can you give it a try with Cilium?
I'll try it out with Calico and post the results here..
Confirming it worked with Calico.. Although Cilium is preferable to investigate security and observability options ..
Waiting for your outcome @avrodriguezgrad ^^
Hi @sam-sre
I could check with Cilium and I could make it work. I followed this tutorial to deploy a kind cluster with Cilium and the version you told me (https://www.bookstack.cn/read/cilium-1.12-en/5be6a00e6ed03350.md), deployed the charts with the tutorial we have and, in the following screenshot, you can see my deployment.
FYI,
I don't know if I can help you in something else.
Hi @avrodriguezgrad
Interesting!
Did you have to pass the --set sctp.enabled=true
variable to helm? or did you follow exaclty steps mentioned on your link here
Hi @sam-sre
Yes, I followed exactly the steps of the link I mentioned but, also, I passed the SCTP variable to Helm.
Hi @avrodriguezgrad
I deployed a KinD environment and followed the exact same steps. It didnt work. I think it is something related to the cgroup versions.. The below commands gave same value which they should'nt
sudo ls -al /proc/$(docker inspect -f '{{.State.Pid}}' kind-control-plane)/ns/cgroup
sudo ls -al /proc/self/ns/cgroup
I'll investigate more but it is definitely not on the application side .. so thanks very much for the help..
Hi
I'm following your tutorial for the Open5gs and UERANSIM here with all default values.. (should I edit any values?)
I have a 2 nodes K8s deployment with enough resources..
I'm using NFS provider for the PV/PVCs of the MongoDB.. PVC is Bound and consumed by MongoDB..
For some reason, the SCTP connection is not established ..
All Pods are Running and looking healthy..
Here are the logs from different CNFs
UE-RANSIM gNB
SMF
AMF
Also, I cant see the
uesimtun0
anduesimtun1
interfacesLogs from the
ueransim-gnb-ues-6487c85db9-5fhcv
Pod