Uploaded image for project: 'Near Realtime RAN Intelligent Controller'
  1. Near Realtime RAN Intelligent Controller
  2. RIC-1051

Problems with deploying xAPPs for the Near-RT RIC - RELEASE H&I

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • None
    • None
    • I have the I release (also tested the H Release without success) of the OSC k8s cluster running srsRAN as the gNB.

      I also tried it with the ORAN SIM as a gNB, there I have the same problem.

       

       

      I'm having problems onboarding the provided example apps.
      I tried the hw-go application, but I'm ending up with the following error for the submgr:
       

      CRESTSubscriptionRequest SubscriptionID='' ClientEndpoint.Host=service-ricxapp-hw-go-rmr.ricxapp ClientEndpoint.HTTPPort=8080 ClientEndpoint.RMRPort=4560 Meid=gnb_001_001_0000019b E2SubscriptionDirectives=nil RANFunctionID=1 SubscriptionDetail.XappEventInstanceID=1234 SubscriptionDetail.EventTriggers= [1234] SubscriptionDetail.ActionToBeSetup.ActionID=1 SubscriptionDetail.ActionToBeSetup.ActionType=report SubscriptionDetail.ActionToBeSetup.ActionDefinition= [1234] SubscriptionDetail.ActionToBeSetup.SubsequentAction.SubsequentActionType=continue SubscriptionDetail.ActionToBeSetup..SubsequentAction.TimeToWait=w10ms {"ts":1711376576407,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:22:56"},"msg":"CREATE routeinfo(1/[service-ricxapp-hw-go-rmr.ricxapp:4560]) failed with error: [POST /handles/xapp-subscription-handle][400] provideXappSubscriptionHandleBadRequest "} {"ts":1711376576407,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:22:56"},"msg":"XAPP-SubReq Assign error: transxapp(trans(0/meid(RanName=gnb_001_001_0000019b))/transkey(service-ricxapp-hw-go-rmr.ricxapp:4560/2eBSeqyZNrI1JKExrdhbxrJyglS)/0) err(RTMGR route create failure)"} {"ts":1711376576417,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:22:56"},"msg":"Post \"http://service-ricxapp-hw-go-rmr.ricxapp:8080/ric/v1/subscriptions/response\": dial tcp 10.96.50.111:8080: connect: connection refused"} {"ts":1711376581424,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:23:01"},"msg":"Post \"http://service-ricxapp-hw-go-rmr.ricxapp:8080/ric/v1/subscriptions/response\": dial tcp 10.96.50.111:8080: connect: connection refused"} {"ts":1711376586426,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:23:06"},"msg":"Post \"http://service-ricxapp-hw-go-rmr.ricxapp:8080/ric/v1/subscriptions/response\": dial tcp 10.96.50.111:8080: connect: connection refused"} {"ts":1711376591430,"crit":"ERROR","id":"submgr","mdc":{"CONTAINER_NAME":"","HOST_NAME":"","PID":"1","POD_NAME":"","SERVICE_NAME":"","SYSTEM_NAME":"","time":"2024-03-25T14:23:11"},"msg":"Post \"http://service-ricxapp-hw-go-rmr.ricxapp:8080/ric/v1/subscriptions/response\": dial tcp 10.96.50.111:8080: connect: connection refused"}

      I'm not sure if this is a problem with the Near RT-RIC or the application.. but I think it has to do with the NRT-RIC. But from the logs "err(RTMGR route create failure)" it seems so.

      Previously I had other problems: 
      https://Jira.o-ran-sc.org/browse/RIC-1042

      This time I can confirm that the connected gNB is inside the meid_map.

      ~# curl -X GET http:// 10.105.83.240:3800/v1/nodeb/states 2>/dev/null|jq
      [
        {
          "inventoryName": "gnb_001_001_0000019b",
          "globalNbId": {
            "plmnId": "00F110",
            "nbId": "0000000000000000000110011011"
          },
          "connectionStatus": "CONNECTED"
        }
      ]

       

      ~# curl -X GET http://10.105.187.110:3800/ric/v1/getdebuginfo |jq . % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 3332 0 3332 0 0 1084k 0 --:--:-- --:--:-- --:--:-- 1084k{ "RouteConfigs": "{\n\"XApps\": [],\n\"E2Ts\": {\n\"10.104.98.254:38000\": {\n\"name\": \"E2TERMINST\",\n\"fqdn\": \"10.104.98.254:38000\",\n\"ranlist\": [\n\"gnb_001_001_0000019b\"\n]\n}\n},\n\"MeidMap\": [\n\"mme_ar|10.104.98.254:38000|gnb_001_001_0000019b\"\n],\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\": \"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|12023|-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|12007|-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|20012|-1|service-ricplt-a1mediator-rmr.ricplt:4562\n", "mse|20011|-1|service-ricplt-a1mediator-rmr.ricplt:4562\n", "mse|12030|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n", "mse|12070|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n", "mse|12004|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n", "mse|1090,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|1101,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12002,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12003,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12031,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12032,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12072,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "mse|12004|-1|service-ricplt-e2mgr-rmr.ricplt:3801\n", "mse|12005,service-ricplt-e2mgr-rmr.ricplt:3801|-1|10.104.98.254:38000\n", "newrt|end\n", "meid_map|start\n", "mme_ar|10.104.98.254:38000|gnb_001_001_0000019b\n", "meid_map|end|1\n" ]}

      I also tried to deploy the kpimon-go application but there it fails as well.
      After I added the livenessProbe and readinessProbe (because otherwise the app won't start and is stuck in a loop) the app crashes inside the appconfigHandler when sending the Subscription Request:

      fatal error: unexpected signal during runtime execution
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7fe9f404b500]
      

      The complete logging of the k8s xApp pod can be found in the attachment log.txt.

      I just want to deploy the simplest app that sends a SubscriptionRequest to the RIC.
      Is there a suggestion or an example of a working procedure to set this up, as I'm not making any progress with the given code/tutorials.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            himanshup Himanshu Purohit
            fklement Felix Klement
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: