Gradiant / 5g-charts

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

NFs retrying to register to NRF (Open5GS 2.6.4) #133

Closed swinarga closed 1 year ago

swinarga commented 1 year ago

Hello! I was trying to see if I could run Open5GS version 2.6.4 but there seems to be a problem with the network functions not registering to the NRF. I installed the chart with the following command: helm install open5gs openverso/open5gs --version 2.0.12 --values=values.yaml

values.yaml:

hss:
  enabled: false
mme:
  enabled: false
pcrf:
  enabled: false
smf:
  config:
    pcrf:
      enabled: false
  image:
    tag: "2.6.4"
sgwc:
  enabled: false
sgwu:
  enabled: false
amf:
  config:
    guamiList:
      - plmn_id:
          mcc: "999"
          mnc: "70"
        amf_id:
          region: 2
          set: 1
    taiList:
      - plmn_id:
          mcc: "999"
          mnc: "70"
        tac:
          - 1
    plmnList:
      - plmn_id:
          mcc: "999"
          mnc: "70"
        s_nssai:
          - sst: 1
            sd: "0x111111"
  image:
    tag: "2.6.4"
ausf:
  image:
    tag: "2.6.4"
bsf:
  image:
    tag: "2.6.4"
nrf:
  image:
    tag: "2.6.4"
nssf:
  config:
    nsiList:
      - nrf:
          hostname: ""
          port: 7777
        sst: 1
        sd: "0x111111"
  image:
    tag: "2.6.4"
pcf:
  image:
    tag: "2.6.4"
udm:
  image:
    tag: "2.6.4"
udr:
  image:
    tag: "2.6.4"
upf:
  image:
    tag: "2.6.4"
webui:
  ingress:
    enabled: false
  image:
    tag: "2.6.4"
populate:
  image:
    tag: "0.10.3"
  enabled: true
  initCommands:
    - open5gs-dbctl add_ue_with_slice 999700000000001
      465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet
      1 111111
    - open5gs-dbctl add_ue_with_slice 999700000000002
      465B5CE8B199B49FAA5F0A2EE238A6BC E8ED289DEBA952E4283B54E88E6183CA internet
      1 111111

AMF logs: amf_logs

NRF - only the NRF itself is registered: nrf_registered_nfs

cgiraldo commented 1 year ago

Hi,

You are right, something happen with open5gs image 2.6.4. Our current helm chart works with version 2.6.2 (default value for charts). I have also test version 2.6.3 with success.

With 2.6.4 the amf registers with the nrf but just after registration there is an error and de-registers:

[sbi] WARNING: ogs_sbi_client_handler() failed [-1] (../lib/sbi/path.c:59)

I will try to take a look

cgiraldo commented 1 year ago

new chart version 2.1.0 should fix the problem.