Gradiant / 5g-charts

Helm charts for 5G Technologies
Apache License 2.0
110 stars 43 forks source link

Upgrade Open5GS to 2.6.1 version failed #122

Closed DiogoCruz40 closed 1 year ago

DiogoCruz40 commented 1 year ago

Screenshot from 2023-03-15 19-36-27 Screenshot from 2023-03-15 19-35-48

avrodriguezgrad commented 1 year ago

Which config file are you using?

BTW, I think your issue is related with this. If you are able to solve it, could you tell us the solution?

alexagaman commented 1 year ago

Which config file are you using?

BTW, I think your issue is related with this. If you are able to solve it, could you tell us the solution?

Yes you could say the issue is related to that, the tls configuration changed as you can see in the commit mentioned in that thread, and it needs this part in the configs to disable it:

sbi:
    server:
      no_tls: true
    client:
      no_tls: true

I tested this by editing the configmap directly, didn't find a way to fix this without changing the charts.

DiogoCruz40 commented 1 year ago

@avrodriguezgrad any news on this?

avrodriguezgrad commented 1 year ago

Hi, I've made changes in 5G services charts to permit TLS config, as @alexagaman told us. I tested them, and they worked, but please, can you test the changes in your environment?

Thank you in advance.

DiogoCruz40 commented 1 year ago

Hello, @avrodriguezgrad. Thank you, everything is operating well. If it's feasible, I'd like to leave you with one last request: provide certificate configuration in the open5gs charts.

avrodriguezgrad commented 1 year ago

Hi, I'm glad to hear that it's working for you too. We are working on other things right now, but we'll add your request to our TODO list.

DiogoCruz40 commented 1 year ago

Hey again @avrodriguezgrad,

I'm very sorry to disturb you again, but up until a problem with the mongodb database, I believed everything was running smoothly.

image

I'm not really clear why it isn't accomplishing the readiness script. I'm using the openebs hostpath to create the PVC and i installed your helm chart directly to the cluster.

image

avrodriguezgrad commented 1 year ago

Hi Diogo, In the past, I had a problem with mongodb too. The readiness and liveness probes waste a lot of resources, so they fail and the pod crushes. I solve it erasing from the bitnami mongodb yaml the part of readiness and liveness, or you can try to give more resources to the mongodb pod.

Nevertheless, I don't know if this is your issue with the logs you posted, but I feel it's a problem outside our scope.

DiogoCruz40 commented 1 year ago

@avrodriguezgrad, I turned off the probes and now mongodb is running, but the other containers are still not running.

image

avrodriguezgrad commented 1 year ago

In my setup, default chart is working with only 5G SA services. I attach an image showing this. image

Have you changed the config files?

DiogoCruz40 commented 1 year ago

Very weird... @avrodriguezgrad No i haven't. The steps i took were: 1 - Adding the repo from openverso 2 - Updating it 3 - Installing open5gs 4 - Changing pvc from the mongodb to hostpath (using the openEBS) 5 - Removing the probes from mongodb

Can you explain what does that error from sbi means?

DiogoCruz40 commented 1 year ago

@avrodriguezgrad I rebooted the virtual machines and it started working. Thank you so much for your help.