Closed ashuvaid closed 1 year ago
Maybe you can refer to
here
helm upgrade --install
I was able to install free5gc using helm. However the status of pod is not in running state
student@free5gcminikube:~$ kubectl get pods -n free5gc NAME READY STATUS RESTARTS AGE free5gc-v1-free5gc-amf-amf-79cf745d4-6n5dl 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-ausf-ausf-5c4c5b5499-hnds4 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-dbpython-dbpython-56bf858f7c-jcf6j 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-nrf-nrf-85bfcb48f-sh5v7 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-nssf-nssf-5d8d7c54dd-5n5q8 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-pcf-pcf-856bdd4685-p8l6g 0/1 Init:0/1 0 2m53s free5gc-v1-free5gc-smf-smf-686655b58b-98qjh 0/1 Init:0/1 0 2m52s free5gc-v1-free5gc-udm-udm-5bbc5c6ddb-fhgsb 0/1 Init:0/1 0 2m52s free5gc-v1-free5gc-udr-udr-7cbf696cd5-dg8cv 0/1 Init:0/1 0 2m51s free5gc-v1-free5gc-upf-upf-84f9dd4ddd-v8grh 0/1 ContainerCreating 0 2m50s free5gc-v1-free5gc-webui-webui-66cc54b967-7zplp 0/1 Init:0/1 0 2m49s mongodb-0 0/1 ContainerCreating 0 2m48s student@free5gcminikube:~$
sample error logs of NRF container is paste below. Similar error for pods in Init phase seen
Warning FailedCreatePodSandBox 3m5s kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "bc2ea88a1f8ffe73a648b742c513c331207ad19a7220f36f6672cebc9a13a6c7" network for pod "free5gc-v1-free5gc-nrf-nrf-85bfcb48f-sh5v7": networkPlugin cni failed to set up pod "free5gc-v1-free5gc-nrf-nrf-85bfcb48f-sh5v7_free5gc" network: CmdAdd (shim): CNI request failed with status 400: '&{ContainerID:bc2ea88a1f8ffe73a648b742c513c331207ad19a7220f36f6672cebc9a13a6c7 Netns:/proc/49698/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-nrf-nrf-85bfcb48f-sh5v7;K8S_POD_INFRA_CONTAINER_ID=bc2ea88a1f8ffe73a648b742c513c331207ad19a7220f36f6672cebc9a13a6c7 Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 98 97 110 100 119 105 100 116 104 34 58
On another VM I have set up flannel as CNI along with MULTUS to meet the multiple ethernet (eth) interfaces requirement. On that setup as well following PODS fail to reach RUNNING state. Logs of each are given below. Let me know what needs to be addressed to resolve these errors
root@master:~# kubectl get pods -n free5gc | grep -iv running NAME READY STATUS RESTARTS AGE free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw 0/1 Init:0/1 0 18m free5gc-v1-free5gc-ausf-ausf-cf974b9cc-5j6rm 0/1 CrashLoopBackOff 7 (4m19s ago) 18m free5gc-v1-free5gc-pcf-pcf-7f968d556c-9669f 0/1 CrashLoopBackOff 7 (4m27s ago) 18m free5gc-v1-free5gc-smf-smf-57bbfd4cdd-6p8cc 0/1 Init:0/1 0 18m free5gc-v1-free5gc-udm-udm-54c7857d7b-ghzbt 0/1 CrashLoopBackOff 7 (4m17s ago) 18m free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5 0/1 ContainerCreating 0 18m
root@master:~# kubectl logs free5gc-v1-free5gc-pcf-pcf-7f968d556c-9669f -c pcf -n free5gc PCF Run Error: Failed to initialize !! 2023-03-20T14:00:24Z [INFO][PCF][CFG] config version [1.0.1] 2023-03-20T14:00:24Z [ERRO][PCF][CFG] Invalid RegisterIPv4: non zero value required 2023-03-20T14:00:24Z [ERRO][PCF][CFG] [-- PLEASE REFER TO SAMPLE CONFIG FILE COMMENTS --]
root@master:~# kubectl logs free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw -c amf -n free5gc Error from server (BadRequest): container "amf" in pod "free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw" is waiting to start: PodInitializing
root@master:~# kubectl logs free5gc-v1-free5gc-smf-smf-57bbfd4cdd-6p8cc -c smf -n free5gc Error from server (BadRequest): container "smf" in pod "free5gc-v1-free5gc-smf-smf-57bbfd4cdd-6p8cc" is waiting to start: PodInitializing
root@master:~# kubectl logs free5gc-v1-free5gc-ausf-ausf-cf974b9cc-5j6rm -c ausf -n free5gc 2023-03-20T14:00:18Z [INFO][AUSF][CFG] config version [1.0.2] 2023-03-20T14:00:18Z [ERRO][AUSF][CFG] Invalid RegisterIPv4: non zero value required 2023-03-20T14:00:18Z [ERRO][AUSF][CFG] [-- PLEASE REFER TO SAMPLE CONFIG FILE COMMENTS --] 2023-03-20T14:00:18Z [ERRO][AUSF][App] AUSF Run error: Failed to initialize !!
root@master:~# kubectl logs free5gc-v1-free5gc-udm-udm-54c7857d7b-ghzbt -c udm -n free5gc 2023-03-20T14:05:41Z [INFO][UDM][CFG] config version [1.0.2] 2023-03-20T14:05:41Z [ERRO][UDM][CFG] RegisterIPv4: non zero value required 2023-03-20T14:05:41Z [ERRO][UDM][CFG] [-- PLEASE REFER TO SAMPLE CONFIG FILE COMMENTS --] UDM Run error: Failed to initialize !!
root@master:~# kubectl logs free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5 -c upf -n free5gc Error from server (BadRequest): container "upf" in pod "free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5" is waiting to start: ContainerCreating
root@master:~# kubectl get pods -n free5gc | grep -iv running NAME READY STATUS RESTARTS AGE free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw 0/1 Init:0/1 0 166m free5gc-v1-free5gc-ausf-ausf-cf974b9cc-5j6rm 0/1 CrashLoopBackOff 16 (72s ago) 166m free5gc-v1-free5gc-pcf-pcf-7f968d556c-9669f 0/1 CrashLoopBackOff 16 (63s ago) 166m free5gc-v1-free5gc-smf-smf-57bbfd4cdd-6p8cc 0/1 Init:0/1 0 166m free5gc-v1-free5gc-udm-udm-54c7857d7b-ghzbt 0/1 CrashLoopBackOff 16 (70s ago) 166m free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5 0/1 ContainerCreating 0 166m
root@master:~# kubectl describe pods -n free5gc free5gc-v1-free5gc-ausf-ausf-cf974b9cc-5j6rm Events: Type Reason Age From Message
Normal Pulled 40m kubelet Successfully pulled image "towards5gs/free5gc-ausf:latest" in 6.133882519s (12.86964648s including waiting) Warning FailedMount 8m28s (x6 over 100m) kubelet MountVolume.SetUp failed for volume "kube-api-access-wwtbq" : failed to sync configmap cache: timed out waiting for the condition Warning FailedMount 8m24s (x11 over 100m) kubelet MountVolume.SetUp failed for volume "free5gc-v1-free5gc-ausf-volume" : failed to sync configmap cache: timed out waiting for the condition Normal Pulled 8m24s kubelet Successfully pulled image "towards5gs/free5gc-ausf:latest" in 3.953222646s (5.335517329s including waiting) Warning BackOff 5m22s (x196 over 164m) kubelet Back-off restarting failed container
root@master:~# kubectl describe pods -n free5gc free5gc-v1-free5gc-pcf-pcf-7f968d556c-9669f Events: Type Reason Age From Message
Normal Pulled 42m kubelet Successfully pulled image "towards5gs/free5gc-pcf:latest" in 6.87059795s (6.870671914s including waiting) Warning FailedMount 42m (x7 over 102m) kubelet MountVolume.SetUp failed for volume "kube-api-access-tmxrv" : failed to sync configmap cache: timed out waiting for the condition Warning FailedMount 10m (x9 over 91m) kubelet MountVolume.SetUp failed for volume "free5gc-v1-free5gc-pcf-volume" : failed to sync configmap cache: timed out waiting for the condition
root@master:~# kubectl describe pods -n free5gc free5gc-v1-free5gc-udm-udm-54c7857d7b-ghzbt Events: Type Reason Age From Message
Warning FailedMount 11m (x8 over 102m) kubelet MountVolume.SetUp failed for volume "kube-api-access-7bpr5" : failed to sync configmap cache: timed out waiting for the condition Warning Failed 11m kubelet Failed to pull image "towards5gs/free5gc-udm:latest": rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution Warning Failed 11m kubelet Error: ErrImagePull Warning FailedMount 11m (x7 over 103m) kubelet MountVolume.SetUp failed for volume "free5gc-v1-free5gc-udm-volume" : failed to sync configmap cache: timed out waiting for the condition Warning BackOff 7m48s (x192 over 166m) kubelet Back-off restarting failed container Normal Pulling 2m54s (x18 over 167m) kubelet Pulling image "towards5gs/free5gc-udm:latest"
root@master:~# kubectl describe pods -n free5gc free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw Events: Type Reason Age From Message
Normal AddedInterface 44m multus Add eth0 [10.244.1.91/24] from cbr0 Normal AddedInterface 44m multus Add eth0 [10.244.1.96/24] from cbr0 Normal AddedInterface 44m multus Add eth0 [10.244.1.99/24] from cbr0 Normal AddedInterface 43m multus Add eth0 [10.244.1.102/24] from cbr0 Normal AddedInterface 12m multus Add eth0 [10.244.1.107/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.109/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.110/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.111/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.112/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.113/24] from cbr0 Normal AddedInterface 10m multus Add eth0 [10.244.1.116/24] from cbr0 Normal AddedInterface 10m multus Add eth0 [10.244.1.117/24] from cbr0 Normal AddedInterface 10m multus Add eth0 [10.244.1.121/24] from cbr0 Warning FailedCreatePodSandBox 10m (x179 over 168m) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "55cd7ad9a5c736fcfca7d3697ce2ddfc0b32e4c9b14afaa4090994db2bb457a7" network for pod "free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw": networkPlugin cni failed to set up pod "free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw_free5gc" network: plugin type="multus-shim" name="multus-cni-network" failed (add): CmdAdd (shim): CNI request failed with status 400: '&{ContainerID:55cd7ad9a5c736fcfca7d3697ce2ddfc0b32e4c9b14afaa4090994db2bb457a7 Netns:/proc/18102/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw;K8S_POD_INFRA_CONTAINER_ID=55cd7ad9a5c736fcfca7d3697ce2ddfc0b32e4c9b14afaa4090994db2bb457a7 Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} {ContainerID:55cd7ad9a5c736fcfca7d3697ce2ddfc0b32e4c9b14afaa4090994db2bb457a7 Netns:/proc/18102/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw;K8S_POD_INFRA_CONTAINER_ID=55cd7ad9a5c736fcfca7d3697ce2ddfc0b32e4c9b14afaa4090994db2bb457a7 Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} ERRORED: error configuring pod [free5gc/free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw] networking: [free5gc/free5gc-v1-free5gc-amf-amf-88784d6d4-qmwlw/:n2network-free5gc-v1-free5gc-amf]: error adding container to network "n2network-free5gc-v1-free5gc-amf": plugin type="ipvlan" failed (add): failed to lookup master "eth0": Link not found ' Normal AddedInterface 4m38s (x120 over 168m) multus (combined from similar events): Add eth0 [10.244.1.135/24] from cbr0 Normal SandboxChanged 8s (x854 over 170m) kubelet Pod sandbox changed, it will be killed and re-created. root@master:~#
root@master:~# kubectl describe pods -n free5gc free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5 Events: Type Reason Age From Message
Normal AddedInterface 45m multus Add eth0 [10.244.1.89/24] from cbr0 Normal AddedInterface 45m multus Add eth0 [10.244.1.90/24] from cbr0 Warning FailedCreatePodSandBox 45m kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "12697a59dd09fff7abf3277d8fd7fe48e09249261209044309d0e892b4ddcc3b" network for pod "free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5": networkPlugin cni failed to set up pod "free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5_free5gc" network: plugin type="multus-shim" name="multus-cni-network" failed (add): CmdAdd (shim): CNI request failed with status 400: '&{ContainerID:12697a59dd09fff7abf3277d8fd7fe48e09249261209044309d0e892b4ddcc3b Netns:/proc/18412/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5;K8S_POD_INFRA_CONTAINER_ID=12697a59dd09fff7abf3277d8fd7fe48e09249261209044309d0e892b4ddcc3b Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} {ContainerID:12697a59dd09fff7abf3277d8fd7fe48e09249261209044309d0e892b4ddcc3b Netns:/proc/18412/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5;K8S_POD_INFRA_CONTAINER_ID=12697a59dd09fff7abf3277d8fd7fe48e09249261209044309d0e892b4ddcc3b Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} ERRORED: error configuring pod [free5gc/free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5] networking: [free5gc/free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5/:n3network-free5gc-v1-free5gc-upf]: error adding container to network "n3network-free5gc-v1-free5gc-upf": plugin type="ipvlan" failed (add): failed to lookup master "eth0": Link not found ' Normal AddedInterface 45m multus Add eth0 [10.244.1.92/24] from cbr0 Normal AddedInterface 45m multus Add eth0 [10.244.1.93/24] from cbr0 Normal AddedInterface 45m multus Add eth0 [10.244.1.94/24] from cbr0 Normal AddedInterface 45m multus Add eth0 [10.244.1.95/24] from cbr0 Normal AddedInterface 45m multus Add eth0 [10.244.1.97/24] from cbr0 Normal AddedInterface 44m multus Add eth0 [10.244.1.98/24] from cbr0 Normal AddedInterface 13m multus Add eth0 [10.244.1.104/24] from cbr0 Normal AddedInterface 13m multus Add eth0 [10.244.1.105/24] from cbr0 Normal AddedInterface 13m multus Add eth0 [10.244.1.106/24] from cbr0 Normal AddedInterface 12m multus Add eth0 [10.244.1.108/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.114/24] from cbr0 Normal AddedInterface 11m multus Add eth0 [10.244.1.115/24] from cbr0 Normal SandboxChanged 5m41s (x757 over 170m) kubelet Pod sandbox changed, it will be killed and re-created. Normal AddedInterface 42s (x121 over 167m) multus (combined from similar events): Add eth0 [10.244.1.162/24] from cbr0 Warning FailedCreatePodSandBox 37s (x166 over 167m) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "e4ebce19b0d28a707fe15c58bfee798cce633c65b9af9c1411be72136f26e5c6" network for pod "free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5": networkPlugin cni failed to set up pod "free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5_free5gc" network: plugin type="multus-shim" name="multus-cni-network" failed (add): CmdAdd (shim): CNI request failed with status 400: '&{ContainerID:e4ebce19b0d28a707fe15c58bfee798cce633c65b9af9c1411be72136f26e5c6 Netns:/proc/2247/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5;K8S_POD_INFRA_CONTAINER_ID=e4ebce19b0d28a707fe15c58bfee798cce633c65b9af9c1411be72136f26e5c6 Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} {ContainerID:e4ebce19b0d28a707fe15c58bfee798cce633c65b9af9c1411be72136f26e5c6 Netns:/proc/2247/ns/net IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=free5gc;K8S_POD_NAME=free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5;K8S_POD_INFRA_CONTAINER_ID=e4ebce19b0d28a707fe15c58bfee798cce633c65b9af9c1411be72136f26e5c6 Path: StdinData:[123 34 99 97 112 97 98 105 108 105 116 105 101 115 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 116 114 117 101 125 44 34 99 108 117 115 116 101 114 78 101 116 119 111 114 107 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 47 49 48 45 102 108 97 110 110 101 108 46 99 111 110 102 108 105 115 116 34 44 34 99 110 105 67 111 110 102 105 103 68 105 114 34 58 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 34 99 110 105 86 101 114 115 105 111 110 34 58 34 48 46 51 46 49 34 44 34 108 111 103 76 101 118 101 108 34 58 34 118 101 114 98 111 115 101 34 44 34 108 111 103 84 111 83 116 100 101 114 114 34 58 116 114 117 101 44 34 110 97 109 101 34 58 34 109 117 108 116 117 115 45 99 110 105 45 110 101 116 119 111 114 107 34 44 34 114 117 110 116 105 109 101 67 111 110 102 105 103 34 58 123 34 112 111 114 116 77 97 112 112 105 110 103 115 34 58 91 93 125 44 34 115 111 99 107 101 116 68 105 114 34 58 34 47 114 117 110 47 109 117 108 116 117 115 47 34 44 34 116 121 112 101 34 58 34 109 117 108 116 117 115 45 115 104 105 109 34 44 10 32 32 32 32 34 99 104 114 111 111 116 68 105 114 34 58 32 34 47 104 111 115 116 114 111 111 116 34 44 10 32 32 32 32 34 99 111 110 102 68 105 114 34 58 32 34 47 104 111 115 116 47 101 116 99 47 99 110 105 47 110 101 116 46 100 34 44 10 32 32 32 32 34 108 111 103 84 111 83 116 100 101 114 114 34 58 32 116 114 117 101 44 10 32 32 32 32 34 108 111 103 76 101 118 101 108 34 58 32 34 100 101 98 117 103 34 44 10 32 32 32 32 34 108 111 103 70 105 108 101 34 58 32 34 47 116 109 112 47 109 117 108 116 117 115 46 108 111 103 34 44 10 32 32 32 32 34 98 105 110 68 105 114 34 58 32 34 47 111 112 116 47 99 110 105 47 98 105 110 34 44 10 32 32 32 32 34 99 110 105 68 105 114 34 58 32 34 47 118 97 114 47 108 105 98 47 99 110 105 47 109 117 108 116 117 115 34 44 10 32 32 32 32 34 115 111 99 107 101 116 68 105 114 34 58 32 34 47 104 111 115 116 47 114 117 110 47 109 117 108 116 117 115 47 34 10 125 10]} ERRORED: error configuring pod [free5gc/free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5] networking: [free5gc/free5gc-v1-free5gc-upf-upf-57c6c59d8b-58sd5/:n3network-free5gc-v1-free5gc-upf]: error adding container to network "n3network-free5gc-v1-free5gc-upf": plugin type="ipvlan" failed (add): failed to lookup master "eth0": Link not found '
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hi Please can someone guide me as to how to install the free5gc on Kubernetes using helm.
I followed the procedure mentioned in the ReadMe of this project but getting below error.
root@master:~/towards5gs-helm/charts# helm -n free5gc install 1.1.6 ./free5gc/ Error: INSTALLATION FAILED: cannot re-use a name that is still in use
Snapshot of my kubernetes setup is given below. I am using flannel and Multus as well
root@master:~/towards5gs-helm/charts# kubectl get pods -A NAMESPACE NAME READY STATUS RESTARTS AGE kube-flannel kube-flannel-ds-vjlgs 1/1 Running 0 26m kube-flannel kube-flannel-ds-xrzn9 1/1 Running 0 26m kube-system coredns-565d847f94-6796r 1/1 Running 0 63m kube-system coredns-565d847f94-prnw8 1/1 Running 0 63m kube-system etcd-master 1/1 Running 0 63m kube-system kube-apiserver-master 1/1 Running 0 63m kube-system kube-controller-manager-master 1/1 Running 0 63m kube-system kube-multus-ds-kbp5c 1/1 Running 3 (28m ago) 35m kube-system kube-multus-ds-n2jzj 1/1 Running 3 (27m ago) 35m kube-system kube-proxy-7lclr 1/1 Running 0 63m kube-system kube-proxy-n6hvv 1/1 Running 0 61m kube-system kube-scheduler-master 1/1 Running 0 63m root@master:~/towards5gs-helm/charts# kubectl get nodes NAME STATUS ROLES AGE VERSION master Ready control-plane 63m v1.25.6 worker Ready 61m v1.25.6
root@master:~/towards5gs-helm/charts#
Also please guide me as to how I can change the physical interface name to eth0 and eth1.