Topics

#rica #rica

babu rajagopal
 

I'm trying to test the Traffic steering xapp (from bronze release). while running i'm seeing some error as shown below""
In get_sdl_ue_data()
message body {"UEPredictionSet": ["12345"]}
payload length 30
<SNDR> send failed: 2

similar to the JIRA 
https://jira.o-ran-sc.org/browse/RICAPP-116?src=confmacro

It is not clear where this is fixed. Can someone help how to get around this issue?

Scott
 

Hi Babu!

I'm not at all an expert on the TS xAPP, but I believe this may be an issue with the route table and not the xAPP itself.

The error code 2 indicates that there is no defined "endpoint" to which to send the message causing the failure.

I assume that you are attempting to deploy a complete RIC, and if so this indicates that the Route Manager isn't active, or isn't providing a complete route table to the TS xAPP. If you're trying to run the TS xAPP alone, you'll need to define a static route table. That is generally only done for unit testing an xAPP, but if that's what you need I can point you to some documentation on that.

I'm not familiar with RIC deployment, so maybe someone else will chime in with some possible solutions if it is related to Route Manager not running/sending a table.

If there are any other stderr messages you might post them here as that might help too.

Cheers!
Scott
--
E. Scott Daniels
PMTS - AT&T Labs -- Research

babu rajagopal
 

Thanks Scott,
I'm running ric platform, i could see route manager running.
kubectl get pods -n ricplt
NAME                                                         READY   STATUS      RESTARTS   AGE
dbprepopjob-gqxgx                                            0/1     Completed   0          19h
deployment-ricplt-a1mediator-66fcf76c66-5z66t                1/1     Running     0          2d19h
deployment-ricplt-alarmadapter-64d559f769-znnx7              1/1     Running     0          2d19h
deployment-ricplt-appmgr-6fd6664755-44trz                    1/1     Running     0          2d19h
deployment-ricplt-e2mgr-8479fb5ff8-2hl4x                     1/1     Running     0          2d19h
deployment-ricplt-e2term-alpha-bcb457df4-b74jd               1/1     Running     1          2d19h
deployment-ricplt-jaegeradapter-84558d855b-m678k             1/1     Running     0          2d19h
deployment-ricplt-o1mediator-d8b9fcdf-gj77r                  1/1     Running     0          2d19h
deployment-ricplt-rtmgr-9d4847788-j9r7n                      1/1     Running     2          2d19h
deployment-ricplt-submgr-65dc9f4995-wwr4n                    1/1     Running     0          2d19h
deployment-ricplt-vespamgr-7458d9b5d-25fcj                   1/1     Running     0          2d19h
deployment-ricplt-xapp-onboarder-546b86b5c4-z2kzg            2/2     Running     0          2d19h
r4-infrastructure-kong-6c7f6db759-dmbhl                      2/2     Running     2          2d19h
r4-infrastructure-prometheus-alertmanager-75dff54776-77dvv   2/2     Running     0          2d19h
r4-infrastructure-prometheus-server-5fd7695-9gxqq            1/1     Running     0          2d19h
statefulset-ricplt-dbaas-server-0                            1/1     Running     0          2d19h
 
curl -X GET --header "Content-Type: application/json"  http://10.101.185.191:3800/ric/v1/getdebuginfo
{"RouteConfigs":"{\n\"XApps\": [\n{\n\"name\": \"qp\",\n\"status\": \"deployed\",\n\"version\": \"1.0\",\n\"instances\": [\n{\n\"name\": \"qp-5f6fc7b746-d76cw\",\n\"status\": \"running\",\n\"ip\": \"service-ricxapp-qp-rmr.ricxapp\",\n\"port\": 4560,\n\"txMessages\": [\n\"TS_QOE_PREDICTION\"\n],\n\"rxMessages\": [\n\"TS_QOE_PRED_REQ\"\n],\n\"policies\": null\n}\n]\n},\n{\n\"name\": \"qpdriver\",\n\"status\": \"deployed\",\n\"version\": \"1.0\",\n\"instances\": null\n},\n{\n\"name\": \"trafficxapp\",\n\"status\": \"deployed\",\n\"version\": \"1.0\",\n\"instances\": [\n{\n\"name\": \"trafficxapp-96bc7bd6b-pbxwh\",\n\"status\": \"running\",\n\"ip\": \"service-ricxapp-trafficxapp-rmr.ricxapp\",\n\"port\": 4560,\n\"txMessages\": [\n\"TS_UE_LIST\"\n],\n\"rxMessages\": [\n\"TS_QOE_PREDICTION\",\n\"A1_POLICY_REQ\"\n],\n\"policies\": [\n20008\n]\n}\n]\n}\n],\n\"E2Ts\": {\n\"10.105.197.146:38000\": {\n\"name\": \"E2TERMINST\",\n\"fqdn\": \"10.105.197.146:38000\",\n\"ranlist\": []\n}\n},\n\"MeidMap\": [],\n\"Pcs\": [\n{\n\"name\":
\"SUBMAN\",\n\"fqdn\": \"service-ricplt-submgr-rmr.ricplt\",\n\"port\": 4560\n},\n{\n\"name\": \"E2MAN\",\n\"fqdn\": \"service-ricplt-e2mgr-rmr.ricplt\",\n\"port\": 3801\n},\n{\n\"name\": \"RSM\",\n\"fqdn\": \"service-ricplt-rsm-rmr.ricplt\",\n\"port\": 4801\n},\n{\n\"name\": \"A1MEDIATOR\",\n\"fqdn\": \"service-ricplt-a1mediator-rmr.ricplt\",\n\"port\": 4562\n}\n]\n}","RouteTable":["newrt|start\n","mse|12010,service-ricplt-submgr-rmr.ricplt:4560|-1|%meid\n","mse|12020,service-ricplt-submgr-rmr.ricplt:4560|-1|%meid\n","mse|12011|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12021|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12012|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12022|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|10060,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10070,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10071,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10360,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10081,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10082,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10371,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|10372,service-ricplt-e2mgr-rmr.ricplt:3801|-1|%meid\n","mse|12001|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|1100|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10061|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10062|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10070|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10071|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10361|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10362|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10370|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|1080|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10030|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10080|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|10020|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|1102|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n","mse|1200,service-ricplt-e2mgr-rmr.ricplt:3801|-1|\n","mse|1210,service-ricplt-e2mgr-rmr.ricplt:3801|-1|\n","mse|1220,service-ricplt-e2mgr-rmr.ricplt:3801|-1|\n","mse|20012|-1|service-ricplt-a1mediator-rmr.ricplt:4562\n","mse|20011|-1|service-ricplt-a1mediator-rmr.ricplt:4562\n","mse|1090,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.105.197.146:38000\n","mse|1101,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.105.197.146:38000\n","mse|12002,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.105.197.146:38000\n","mse|12003,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.105.197.146:38000\n","mse|12010,service-ricxapp-trafficxapp-rmr.ricxapp:4560|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12020,service-ricxapp-trafficxapp-rmr.ricxapp:4560|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12040,service-ricxapp-trafficxapp-rmr.ricxapp:4560|-1|%meid\n","mse|12041|-1|service-ricxapp-trafficxapp-rmr.ricxapp:4560\n","mse|12042|-1|service-ricxapp-trafficxapp-rmr.ricxapp:4560\n","mse|20010|20008|service-ricxapp-trafficxapp-rmr.ricxapp:4560\n","mse|30002,service-ricxapp-qp-rmr.ricxapp:4560|-1|service-ricxapp-trafficxapp-rmr.ricxapp:4560\n","mse|12010,service-ricxapp-qp-rmr.ricxapp:4560|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12020,service-ricxapp-qp-rmr.ricxapp:4560|-1|service-ricplt-submgr-rmr.ricplt:4560\n","mse|12040,service-ricxapp-qp-rmr.ricxapp:4560|-1|%meid\n","mse|12041|-1|service-ricxapp-qp-rmr.ricxapp:4560\n","mse|12042|-1|service-ricxapp-qp-rmr.ricxapp:4560\n","mse|30001|-1|service-ricxapp-qp-rmr.ricxapp:4560\n","newrt|end\n","meid_map|start\nmeid_map|end|0\n"]}
 

Scott
 

Thanks for posting the additional information. In the curl output I notice that the 3000x message types are defined and I would assume that the TS xAPP is attempting to send message type 30001 to the QP process, but I'm not familiar enough with those xAPPs to say for sure.

Does anybody who knows TS and QP have any thoughts?

--
E. Scott Daniels
PMTS - AT&T Labs -- Research

Ron Shacham
 

Hi Babu,
Here are a few things that would help to understand what is going on:
1. Can you send details about how you are onboarding the TS xapp?  The command you are running and the json data being sent.
2. It appears that you have also deployed the QP xapp and QP driver xapp.  Can you send the same information about the onboarding of those two?
3. The image tag of appmgr and rtmgr

Regards,
Ron

babu rajagopal
 

I tried to follow the wiki for Traffic steering use case

 

For onboarding -

curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download"      --header 'Content-Type: application/json' --data-binary "@./onboard.ts.url"

curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download"      --header 'Content-Type: application/json' --data-binary "@./onboard.qp.url"

curl --location --request POST "http://$(hostname):32080/onboard/api/v1/onboard/download"      --header 'Content-Type: application/json' --data-binary "@./onboard.qpd.url"

 

For the json, I had used the bronze branch name:

 

root@brajagopal-ubuntu-1804:~/oran-sc/dep/bin# cat onboard.qp.url

{"config-file.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/qp.git;a=blob_plain;f=xapp-descriptor/config.json;hb=refs/heads/bronze" }

root@brajagopal-ubuntu-1804:~/oran-sc/dep/bin# cat onboard.qpd.url

{"config-file.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/qp-driver.git;a=blob_plain;f=xapp-descriptor/config.json;hb=refs/heads/bronze" }

root@brajagopal-ubuntu-1804:~/oran-sc/dep/bin# cat onboard.ts.url

{"config-file.json_url": "https://gerrit.o-ran-sc.org/r/gitweb?p=ric-app/ts.git;a=blob_plain;f=xapp-descriptor/config.json;hb=refs/heads/bronze" }

root@brajagopal-ubuntu-1804:~/oran-sc/dep/bin#

 

Please find the image tags:

nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-rtmgr                               0.6.1               5d30b7f50777        7 weeks ago         133MB

nexus3.o-ran-sc.org:10002/o-ran-sc/ric-app-qp-driver                           1.0.9               a9a526955cbf        2 months ago        198MB

nexus3.o-ran-sc.org:10002/o-ran-sc/ric-app-qp                                  0.0.2               00e92efa713b        2 months ago        198MB

nexus3.o-ran-sc.org:10002/o-ran-sc/ric-app-qp-driver                           1.0.7               2cee9ef342e3        2 months ago        227MB

nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-appmgr                              0.4.3               87851b9d06ec        3 months ago        204MB

 

Thanks

Babu