openverso-charts
openverso-charts copied to clipboard
[Bug]: webui and few other pods keeps crashing due to mongo db.
Steps to reproduce
running a kubenetes single node cluster in windows using kind.
my webui, udr, pcf and populate is keeps crashing due to mongo db. Here are some logs
Logs
PS C:\Users\avishekarora\mtp1-kind> kubectl get pods
NAME READY STATUS RESTARTS AGE
open5gs-amf-5fcdb4b68b-sqqhp 1/1 Running 0 3m19s
open5gs-ausf-5bfc9565f8-8gbrz 1/1 Running 0 3m18s
open5gs-bsf-7669fb7668-p59nw 1/1 Running 0 3m19s
open5gs-mongodb-76d8dfbbdb-vh4rb 1/1 Running 0 3m18s
open5gs-nrf-69954b5bc6-ttbgk 1/1 Running 0 3m18s
open5gs-nssf-6b989f9c74-bhdzr 1/1 Running 0 3m18s
open5gs-pcf-5d9dc78c64-w9t6f 0/1 CrashLoopBackOff 4 (54s ago) 3m18s
open5gs-populate-6db989b65d-vf48v 0/1 Init:0/1 4 (50s ago) 3m18s
open5gs-scp-6ff78f94dc-8qmnm 1/1 Running 0 3m19s
open5gs-smf-7858548f55-gwjfs 1/1 Running 0 3m19s
open5gs-udm-966f7f48-r7hps 1/1 Running 0 3m18s
open5gs-udr-58b89fcbcf-gbngz 0/1 CrashLoopBackOff 4 (57s ago) 3m19s
open5gs-upf-7fd959cf9d-sxvfd 1/1 Running 0 3m19s
open5gs-webui-58d858f4fb-jqnm2 0/1 Init:Error 2 (21s ago) 32s
PS C:\Users\avishekarora\mtp1-kind> kubectl logs open5gs-webui-58d858f4fb-jqnm2 -c init
add admin user with password 1423 if no users
MongoDB shell version v4.4.1
connecting to: mongodb://open5gs-mongodb:27017/open5gs?compressors=disabled&gssapiServiceName=mongodb
Error: couldn't connect to server open5gs-mongodb:27017, connection attempt failed: SocketException: Error connecting to open5gs-mongodb:27017 (10.96.227.65:27017) :: caused by :: Connection timed out :
connect@src/mongo/shell/mongo.js:374:17
@(connect):2:6
exception: connect failed
exiting with code 1
PS C:\Users\avishekarora\mtp1-kind>
Expected behaviour
Pods should not be crashing.
Observed Behaviour
Pods are getting crashed.
Hi @avi-arora
We have no experience deploying K8s on Windows, but it seems that your problem is related to CNI and/or Windows networking, and not to Helm Charts. Check anything related to firewall, open ports...
BR, Álvaro
@avi-arora i'm currently facing the same issue with kindnet on Docker. Were you able to solve the issue?