Connecting multiple gNBs to Open5gs CN: srsRAN

18 views
Skip to first unread message

praghur

unread,
Jun 24, 2024, 5:46:45 PMJun 24
to Powder Users
Hello POWDER community. 

I am creating a scenario with multiple gNBs connecting to the Open5gs CN. The first UE-gNB pair connects to the CN without any issue. However, I am unable to connect to the second gNB. The error message I receive is: 

Connecting to AMF on 127.0.0.5:38412
Failed to connect SCTP socket to 127.0.0.5:38412. error="Connection refused" timeout=0ms
srsGNB ERROR: Failed to create SCTP gateway.


I changed the IP address of the bind_addr. Is there anything else I need to change/edit to add another gNB to the network? 
amf:
  addr: 127.0.0.5                  # The address or hostname of the AMF.
  bind_addr: 127.0.0.2             # A local IP that the gNB binds to for traffic from the AMF.


Thanks in advance. 
Screenshot from 2024-06-24 17-35-09.png

Dustin Maas

unread,
Jun 24, 2024, 6:18:54 PMJun 24
to 'praghur' via Powder Users

I’d have a look at the AMF log (/var/log/open5gs/amf.log) for a hint as to why this connection is being refused.

-Dustin

--
You received this message because you are subscribed to the Google Groups "Powder Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to powder-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/powder-users/53a427bc-ba93-4b91-bb53-85ab8c4f409an%40googlegroups.com.

Priya Raghuraman

unread,
Jun 25, 2024, 4:20:22 PMJun 25
to powder...@googlegroups.com
Hi Dustin. 

I did take a look at the AMF log. It does not show any activity of trying to connect to the gNB2. The only activity shown in the log is successful connection of gnb1. Hence, I think that the amf never gets called in this process since the gateway itself fails to create. Is there any other log I can take a look at to understand what I am missing? Please let me know. Thanks a lot. 

06/25 13:55:01.419: [app] INFO: Configuration: '/etc/open5gs/amf.yaml' (../lib/app/ogs-init.c:133)
06/25 13:55:01.419: [app] INFO: File Logging: '/var/log/open5gs/amf.log' (../lib/app/ogs-init.c:136)
06/25 13:55:01.424: [metrics] INFO: metrics_server() [http://127.0.0.5]:9090 (../lib/metrics/prometheus/context.c:299)
06/25 13:55:01.424: [sbi] INFO: NF Service [namf-comm] (../lib/sbi/context.c:1841)
06/25 13:55:01.424: [sbi] INFO: nghttp2_server() [http://127.0.0.5]:7777 (../lib/sbi/nghttp2-server.c:414)
06/25 13:55:01.424: [amf] INFO: ngap_server() [127.0.0.5]:38412 (../src/amf/ngap-sctp.c:61)
06/25 13:55:01.424: [sctp] INFO: AMF initialize...done (../src/amf/app.c:33)
06/25 13:55:01.427: [sbi] INFO: [cee140b4-332c-41ef-97b0-db136fc3eacf] NF registered [Heartbeat:10s] (../lib/sbi/nf-sm.c:221)
06/25 13:55:01.429: [sbi] INFO: [cee22dc6-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428179-06:00 [duration:86400,validity:86399.999023,patch:43199.999511] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.429: [sbi] INFO: [cee2353c-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428374-06:00 [duration:86400,validity:86399.999054,patch:43199.999527] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.429: [sbi] INFO: [cee23f00-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428616-06:00 [duration:86400,validity:86399.999079,patch:43199.999539] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.429: [sbi] INFO: [cee24216-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428698-06:00 [duration:86400,validity:86399.998947,patch:43199.999473] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.429: [sbi] INFO: [cee24a2c-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428902-06:00 [duration:86400,validity:86399.998924,patch:43199.999462] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.430: [sbi] INFO: [cee24d2e-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.428982-06:00 [duration:86400,validity:86399.998658,patch:43199.999329] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.430: [sbi] INFO: [cee25774-332c-41ef-973b-6fc97b9b94da] Subscription created until 2024-06-26T13:55:01.429246-06:00 [duration:86400,validity:86399.998880,patch:43199.999440] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:01.603: [sbi] INFO: (NRF-notify) NF registered [cee9338c-332c-41ef-b310-75057884046d:1] (../lib/sbi/nnrf-handler.c:1058)
06/25 13:55:01.603: [sbi] INFO: [SMF] (NRF-notify) NF Profile updated [cee9338c-332c-41ef-b310-75057884046d:1] (../lib/sbi/nnrf-handler.c:1072)
06/25 13:55:11.438: [sbi] WARNING: [cee140b4-332c-41ef-97b0-db136fc3eacf] HTTP response error [404] (../lib/sbi/nf-sm.c:277)
06/25 13:55:11.438: [sbi] INFO: [cee140b4-332c-41ef-97b0-db136fc3eacf] NF de-registered (../lib/sbi/nf-sm.c:248)
06/25 13:55:13.441: [sbi] WARNING: [cee140b4-332c-41ef-97b0-db136fc3eacf] Retry registration with NRF (../lib/sbi/nf-sm.c:405)
06/25 13:55:13.443: [sbi] INFO: [cee140b4-332c-41ef-97b0-db136fc3eacf] NF registered [Heartbeat:10s] (../lib/sbi/nf-sm.c:221)
06/25 13:55:13.446: [sbi] INFO: [d60bb798-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.444464-06:00 [duration:86400,validity:86399.998036,patch:43199.999018] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.446: [sbi] INFO: [d60bc990-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.444919-06:00 [duration:86400,validity:86399.998203,patch:43199.999101] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.447: [sbi] INFO: [d60bd368-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.445170-06:00 [duration:86400,validity:86399.998129,patch:43199.999064] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.447: [sbi] INFO: [d60be5ba-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.445648-06:00 [duration:86400,validity:86399.998127,patch:43199.999063] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.447: [sbi] INFO: [d60beb8c-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.445786-06:00 [duration:86400,validity:86399.998024,patch:43199.999012] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.447: [sbi] INFO: [d60bfb2c-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.446187-06:00 [duration:86400,validity:86399.998209,patch:43199.999104] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.448: [sbi] INFO: [d60c0892-332c-41ef-ab38-ffeacfbc810a] Subscription created until 2024-06-26T13:55:13.446529-06:00 [duration:86400,validity:86399.998329,patch:43199.999164] (../lib/sbi/nnrf-handler.c:813)
06/25 13:55:13.619: [sbi] WARNING: [SMF] (NRF-notify) NF has already been added [cee9338c-332c-41ef-b310-75057884046d:1] (../lib/sbi/nnrf-handler.c:1061)
06/25 13:55:13.619: [sbi] INFO: [SMF] (NRF-notify) NF Profile updated [cee9338c-332c-41ef-b310-75057884046d:1] (../lib/sbi/nnrf-handler.c:1072)
06/25 13:55:13.619: [sbi] WARNING: NF EndPoint(addr) updated [127.0.0.4:80] (../lib/sbi/context.c:2210)
06/25 13:55:13.619: [sbi] WARNING: NF EndPoint(addr) updated [127.0.0.4:7777] (../lib/sbi/context.c:1946)
06/25 14:13:22.268: [amf] INFO: gNB-N2 accepted[127.0.0.1]:35958 in ng-path module (../src/amf/ngap-sctp.c:113)
06/25 14:13:22.268: [amf] INFO: gNB-N2 accepted[127.0.0.1] in master_sm module (../src/amf/amf-sm.c:757)
06/25 14:13:22.278: [amf] INFO: [Added] Number of gNBs is now 1 (../src/amf/context.c:1236)
06/25 14:13:22.278: [amf] INFO: gNB-N2[127.0.0.1] max_num_of_ostreams : 30 (../src/amf/amf-sm.c:796)


You received this message because you are subscribed to a topic in the Google Groups "Powder Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/powder-users/CJm9zCxNTKA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to powder-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/powder-users/FA2D49C8-5178-46CB-8790-DEE1AC83DD86%40gmail.com.
Reply all
Reply to author
Forward
0 new messages