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)