Closed goyban closed 1 month ago
sth is wrong with the core network:
open5gs_5gc | 10/15 12:42:32.349: [gmm] INFO: Registration request (../src/amf/gmm-sm.c:1165)
open5gs_5gc | 10/15 12:42:32.349: [gmm] INFO: [suci-0-001-01-0000-0-0-0123456780] SUCI (../src/amf/gmm-handler.c:166)
open5gs_5gc | 10/15 12:42:32.793: [gmm] INFO: [imsi-001010123456790] Registration complete (../src/amf/gmm-sm.c:2146)
open5gs_5gc | 10/15 12:42:32.793: [amf] INFO: [imsi-001010123456790] Configuration update command (../src/amf/nas-path.c:612)
open5gs_5gc | 10/15 12:42:32.793: [gmm] INFO: UTC [2024-10-15T12:42:32] Timezone[0]/DST[0] (../src/amf/gmm-build.c:559)
open5gs_5gc | 10/15 12:42:32.793: [gmm] INFO: LOCAL [2024-10-15T12:42:32] Timezone[0]/DST[0] (../src/amf/gmm-build.c:564)
open5gs_5gc | 10/15 12:42:32.793: [amf] INFO: [Added] Number of AMF-Sessions is now 1 (../src/amf/context.c:2571)
open5gs_5gc | 10/15 12:42:32.793: [gmm] INFO: UE SUPI[imsi-001010123456790] DNN[srsapn] S_NSSAI[SST:1 SD:0xffffff] smContextRef [NULL] (../src/amf/gmm-handler.c:1241)
open5gs_5gc | 10/15 12:42:32.793: [gmm] INFO: SMF Instance [d34fcc60-8af2-41ef-8074-5da16103f9e5] (../src/amf/gmm-handler.c:1280)
open5gs_5gc | 10/15 12:42:32.794: [smf] INFO: [Added] Number of SMF-UEs is now 1 (../src/smf/context.c:1019)
open5gs_5gc | 10/15 12:42:32.794: [smf] INFO: [Added] Number of SMF-Sessions is now 1 (../src/smf/context.c:3068)
open5gs_5gc | 10/15 12:42:32.800: [smf] ERROR: No UPFs are PFCP associated that are suited to RR (../src/smf/context.c:1167)
open5gs_5gc | 10/15 12:42:32.800: [smf] ERROR: [imsi-001010123456790:1] No associated UPF (../src/smf/npcf-handler.c:442)
open5gs_5gc | 10/15 12:42:32.800: [smf] ERROR: smf_npcf_smpolicycontrol_handle_create() failed (../src/smf/gsm-sm.c:528)
open5gs_5gc | 10/15 12:42:32.801: [amf] ERROR: [1:0] PDU session establishment reject (../src/amf/namf-handler.c:482)
open5gs_5gc | 10/15 12:42:32.801: [amf] WARNING: [suci-0-001-01-0000-0-0-0123456790] DL NAS transport (../src/amf/nas-path.c:1014)
open5gs_5gc | 10/15 12:42:32.801: [amf] INFO: [Removed] Number of AMF-Sessions is now 0 (../src/amf/context.c:2578)
open5gs_5gc | 10/15 12:42:32.802: [smf] INFO: Removed Session: UE IMSI:[imsi-001010123456790] DNN:[srsapn:1] IPv4:[10.45.1.4] IPv6:[] (../src/smf/context.c:1672)
open5gs_5gc | 10/15 12:42:32.802: [smf] INFO: [Removed] Number of SMF-Sessions is now 0 (../src/smf/context.c:3076)
open5gs_5gc | 10/15 12:42:32.802: [smf] INFO: [Removed] Number of SMF-UEs is now 0 (../src/smf/context.c:1080)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: [imsi-001010123456790] No GUTI allocated (../src/amf/gmm-sm.c:1443)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: [imsi-001010123456780] Registration complete (../src/amf/gmm-sm.c:2146)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: [imsi-001010123456780] Configuration update command (../src/amf/nas-path.c:612)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: UTC [2024-10-15T12:42:32] Timezone[0]/DST[0] (../src/amf/gmm-build.c:559)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: LOCAL [2024-10-15T12:42:32] Timezone[0]/DST[0] (../src/amf/gmm-build.c:564)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: [Added] Number of AMF-Sessions is now 1 (../src/amf/context.c:2571)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: UE SUPI[imsi-001010123456780] DNN[srsapn] S_NSSAI[SST:1 SD:0xffffff] smContextRef [NULL] (../src/amf/gmm-handler.c:1241)
open5gs_5gc | 10/15 12:42:32.953: [gmm] INFO: SMF Instance [d34fcc60-8af2-41ef-8074-5da16103f9e5] (../src/amf/gmm-handler.c:1280)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: InitialUEMessage (../src/amf/ngap-handler.c:401)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: [Added] Number of gNB-UEs is now 3 (../src/amf/context.c:2550)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: RAN_UE_NGAP_ID[2] AMF_UE_NGAP_ID[3] TAC[7] CellID[0x66c000] (../src/amf/ngap-handler.c:562)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: [suci-0-001-01-0000-0-0-0123456791] Unknown UE by SUCI (../src/amf/context.c:1835)
open5gs_5gc | 10/15 12:42:32.953: [amf] INFO: [Added] Number of AMF-UEs is now 3 (../src/amf/context.c:1616)
It seems that UPF is not running and PDU session establishments are rejected.
sth is wrong with the core network:
Thank you! I found the problem. I used the edited .env file directly from here.
This is the modified .env file (for 3 UEs):
MONGODB_IP=127.0.0.1
OPEN5GS_IP=10.53.1.2
UE_IP_BASE=10.45.0
DEBUG=false
SUBSCRIBER_DB="subscriber_db.csv"
and this is the original .evn file (for 1 UE):
MONGODB_IP=127.0.0.1
OPEN5GS_IP=10.53.1.2
UE_IP_BASE=10.45.0
UPF_ADVERTISE_IP=10.53.1.2
DEBUG=false
SUBSCRIBER_DB=001010123456780,00112233445566778899aabbccddeeff,opc,63bfa50ee6523365ff14c1f45f88737d,8000,9,10.45.1.2
NETWORK_NAME_FULL=srsRAN
NETWORK_NAME_SHORT=srsRAN
# Timezone - this setting will also be conveyed by Open5GS towards UE via "configuration update command"; comment for UTC
TZ=Europe/Madrid
I just added the missing parts (the UPF Advertise IP should be added: UPF_ADVERTISE_IP=10.53.1.2
) and now all UEs get their IP address.
This is how my .env file looks like:
MONGODB_IP=127.0.0.1
OPEN5GS_IP=10.53.1.2
UE_IP_BASE=10.45.0
UPF_ADVERTISE_IP=10.53.1.2 #main part missing
DEBUG=false
NETWORK_NAME_FULL=srsRAN #optional
NETWORK_NAME_SHORT=srsRAN #optional
SUBSCRIBER_DB="subscriber_db.csv"
TZ=Europe/Madrid #optional
And the output of UE1:
Random Access Transmission: prach_occasion=0, preamble_index=34, ra-rnti=0x39, tti=174
Random Access Complete. c-rnti=0x4601, ta=0
RRC Connected
PDU Session Establishment successful. IP: 10.45.1.2
RRC NR reconfiguration successful.
I suggest editing this .env file from this section.
great! thanks for your feedback!
Issue Description
Hello everyone, I'm trying to test the multi UE emulation with ZMQ explained here, but when I start the flow using GNR, UEs don't get their IP addresses and I get this error:
PDU Session Establishment Reject with cause: Network failure
Setup Details
I'm running this test on an Ubuntu 22.04 machine. Details:
CPU: 11th Gen Intel i5-1145G7 RAM: 32 GB srsRAN: commit 9d5dd742a
Expected Behavior
I expect to get this output on the UE side after starting the flow:
Actual Behaviour
I get this on all my UEs:
Steps to reproduce the problem
All config files are used from the tutorial here, no change.
Additional Information
I ran the ZMQ-based setup without any problem, UE assigned an IP address, I managed to ping and run iperf in both direction. The problem exist when running MultiUE simulation.
Here are logs related to my setup: gnb.log O5gs.log ue1.log ue2.log ue3.log