kpm_mon_xapp.py not giving expected metrics output #1172
Replies: 1 comment
-
please do not open the same issue twice. it is already here: srsran/oran-sc-ric#67 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Community, I followed the tutorial in the link https://docs.srsran.com/projects/project/en/latest/tutorials/source/near-rt-ric/source/index.html . I used open5gs, srsRAN_Project, ORAN SC RIC, srsUE, and kpm_mon_xapp.py as mentioned in the tutorial. I have used single Virtualbox machine for all of these components. uplinkg Iperf3 traffic is generated and all things running fine as stated in tutorial but i am not getting the expected metrics from kpm_mon_xapp. The output i obtained in xapp side is as follows:
vboxuser@srsran:~/oran-sc-ric$ sudo docker compose exec python_xapp_runner ./kpm_mon_xapp.py --metrics=DRB.UEThpDl,DRB.UEThpUl --kpm_report_style=5
[sudo] password for vboxuser:
WARN[0000] /home/vboxuser/oran-sc-ric/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
1745255320191 7/RMR [INFO] ric message routing library on SI95 p=4562 mv=3 flg=00 id=a (f447e29 4.9.4 built: Dec 13 2023)
INFO: Subscription for E2SM_KPM Report Service Style 5 requires at least two UE IDs -> add dummy UeID: 1
Subscribe to E2 node ID: gnbd_001_001_00019b_0, RAN func: e2sm_kpm, Report Style: 5, UE_ids: [0, 1], metrics: ['DRB.UEThpDl', 'DRB.UEThpUl']
Successfully subscribed with Subscription ID: 2w31DHIE1cOZCHzcJ1rFvTQyChu
Received Subscription ID to E2EventInstanceId mapping: 2w31DHIE1cOZCHzcJ1rFvTQyChu -> 0
{'response': 'OK', 'status': 200, 'payload': '{}', 'ctype': 'application/json', 'attachment': None, 'mode': 'plain'}
10.0.2.13 - - [21/Apr/2025 17:08:41] "POST /ric/v1/subscriptions/response HTTP/1.1" 200 -
And, in ORAN SC RIC side, i am getting as follows:
ric_submgr | redis: got 7 elements in COMMAND reply, wanted 6
ric_submgr | 1745255243087 1/RMR [INFO] ric message routing library on SI95 p=4560 mv=3 flg=00 id=a (f447e29 4.9.4 built: Dec 13 2023)
ric_submgr | 2025/04/21 17:07:23 Serving xapp framework at http://[::]:8088
ric_submgr | RMR is ready now ...
ric_rtmgr_sim | 2025/04/21 17:07:44 POST /ric/v1/handles/associate-ran-to-e2t body: [{"E2TAddress":"10.0.2.10:38000","ranNamelist":["gnbd_001_001_00019b_0"]}] elapsed: 36.404µs
ric_submgr | {"ts":1745255321298,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"ric_submgr","HOST_NAME":"ric_submgr_host","PID":"1","POD_NAME":"submgr_pod","SERVICE_NAME":"ric_submgr_service","SYSTEM_NAME":"oran_sc_ric","time":"2025-04-21T17:08:41"},"msg":"CREATE routeinfo(1/[10.0.2.20:4562]) failed with error: Post "[http://10.0.2.15:12020/ric/v1/handles/xapp-subscription-handle](http://10.0.2.15:12020/ric/v1/handles/xapp-subscription-handle%5C)": dial tcp 10.0.2.15:12020: connect: connection refused"}
ric_submgr | {"ts":1745255321298,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"ric_submgr","HOST_NAME":"ric_submgr_host","PID":"1","POD_NAME":"submgr_pod","SERVICE_NAME":"ric_submgr_service","SYSTEM_NAME":"oran_sc_ric","time":"2025-04-21T17:08:41"},"msg":"XAPP-SubReq Assign error: transxapp(trans(0/meid(RanName=gnbd_001_001_00019b_0))/transkey(10.0.2.20:4562/2w31DHIE1cOZCHzcJ1rFvTQyChu)/0) err(RTMGR route create failure)"}
I appreciate any feedback on where am i gone wrong in following the tutorial.
Thanks,
Rajendra Upadhyay
George Mason University
Beta Was this translation helpful? Give feedback.
All reactions