Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INI was not able to parse cu_up.nru.++ #1027

Open
geekkypyconda opened this issue Jan 28, 2025 · 2 comments
Open

INI was not able to parse cu_up.nru.++ #1027

geekkypyconda opened this issue Jan 28, 2025 · 2 comments

Comments

@geekkypyconda
Copy link

$ docker logs cu0

--== srsRAN CU (commit cc2869f) ==--

INI was not able to parse cu_up.nru.++
Run with --help for more information

After running the cu_0, it is getting exited after 10 seconds and it is not able to parse from cu_up.nru section of the cu.yml file.

@brendan-mcauliffe
Copy link
Collaborator

brendan-mcauliffe commented Jan 28, 2025

The config files have been updated in the latest release, this error indicates that there is an unsupported or wrongly defined parameter being configured.

It looks like you are using the latest release, in this we updated the CU-UP configuration fields. The nru field is now no longer used. Instead, the CU-UP configuration options look like this:

cu_up: 
  gtpu_queue_size: 2048                # Optional INT (2048). Sets the GTP-U queue size, in PDUs.
  gtpu_reordering_timer: 0             # Optional INT (0). Sets the GTP-U RX reordering timer (in milliseconds).
  warn_on_drop: false                  # Optional BOOLEAN (false). Enables the option to log a warning for dropped packets in GTP-U and PDCP due to full queues. Supported: [false, true].

  f1u:
      socket:                               # Define UDP/IP socket(s) for F1-U interface.
        -                                     # Socket 1
          bind_addr: 127.0.3.1                  # Required TEXT. Sets the address that the F1-U socket will bind to.
          ext_addr: 8.8.8.8                     # Optional TEXT. Sets the address that is reported as the F1-U bind address. If empty, the real bind address is used.
          udp:
            max_rx_msgs: 256                        # Optional UINT (256). Sets the maximum packets read from the socket in a single syscall.
            pool_threshold: 0.9                     # Optional FLOAT (0.9). Sets the pool occupancy threshold, after which packets are dropped. Supported [0 - 1.0]. 

  ngu: 
    no_core: false                        # Optional BOOLEAN (false). Setting to true allows the gNB to run without a core. Supported: [0, 1].
    socket:                               # Define socket(s) for NG-U interface.
      -                                     # Socket 1 
        bind_addr: 127.0.3.1                  # Optional TEXT (auto). Sets local IP address to bind for N3 interface. Format: IPV4 or IPV6 IP address.
        udp:
          max_rx_msgs: 256                      # Optional INT (256). Sets the maximum number of messages RX from a socket in a single syscall.
          pool_threshold: 0.9                   # Optional FLOAT (0.9). Sets the pool occupancy threshold, after which packets are dropped. Supported: [0.0 - 1.0].
          dscp:                                 # Optional UINT. Sets the Differentiated Services Code Point. Supported: [0 - 63].

You can find the full configuration reference file here: https://docs.srsran.com/projects/project/en/latest/user_manuals/source/config_ref.html

@geekkypyconda
Copy link
Author

geekkypyconda commented Jan 30, 2025

My CU config file

cu.txt

Example config for a locally deployed CU listening on the localhost interface for a DU connection

cu_cp:
amf:
addr: 10.53.1.2
port: 38412
bind_addr: 10.53.1.240
supported_tracking_areas:
- tac: 7
plmn_list:
- plmn: "00101"
tai_slice_support_list:
- sst: 1
f1ap:
bind_addr: 10.53.10.1

cu_up:
nru:
bind_addr: 10.53.10.1

e2:
enable_cu_cp_e2: true # Enable DU E2 agent (one for each DU instance)
enable_cu_up_e2: true
e2sm_kpm_enabled: true # Enable KPM service module
e2sm_rc_enabled: true # Enable RC service module
addr: 10.0.2.10 # RIC IP address
bind_addr: 10.53.1.240
port: 36421 # RIC port

metrics:
cu_cp_statistics_report_period: 1
cu_up_statistics_report_period: 1
pdcp_report_period: 1000

log:
filename: /tmp/cu.log
all_level: warning

pcap:
ngap_enable: false
ngap_filename: /tmp/cu_ngap.pcap
#e2ap_enable: true # Set to true to enable E2AP PCAPs.
#e2ap_cu_cp_filename: /tmp/cu_e2ap.pcap # Path where the E2AP PCAP is stored.

Besides this I also tried release_23_10, but it also does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants