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

install xApp via dms_cli not successful

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • F
    • F
    • ric-dep

      I followed the steps in https://docs.o-ran-sc.org/projects/o-ran-sc-it-dep/en/latest/installation-guides.html to install RIC platform on a VM,
      and all looks OK:
       
      kubectl get pods -n ricplt
      NAME                                                         READY   STATUS    RESTARTS   AGE
      deployment-ricplt-a1mediator-9fc67867-59f9h                  1/1     Running   0          56m
      deployment-ricplt-alarmmanager-7685b476c8-vzh8j              1/1     Running   0          55m
      deployment-ricplt-appmgr-6fd6664755-l6scb                    1/1     Running   0          57m
      deployment-ricplt-e2mgr-66cdc4d6b6-2hcgc                     1/1     Running   2          56m
      deployment-ricplt-e2term-alpha-7cbc5f4687-gndrd              1/1     Running   0          56m
      deployment-ricplt-o1mediator-d8b9fcdf-2hz7b                  1/1     Running   0          55m
      deployment-ricplt-rtmgr-6d559897d8-7pl7p                     1/1     Running   1          56m
      deployment-ricplt-submgr-65bcd95469-brlp6                    1/1     Running   0          55m
      deployment-ricplt-vespamgr-7458d9b5d-c28qm                   1/1     Running   0          55m
      r4-infrastructure-kong-646b68bd88-gs8tx                      2/2     Running   2          57m
      r4-infrastructure-prometheus-alertmanager-75dff54776-dp2mh   2/2     Running   0          57m
      r4-infrastructure-prometheus-server-5fd7695-xx7nc            1/1     Running   0          57m
      statefulset-ricplt-dbaas-server-0                            1/1     Running   0          57m
       
      Then I installed the xapp_onboard to use the dms_cli tool and onboard the ad xApp:
       

      1. dms_cli onboard /home/james/workspace/ad/xapp-descriptor/config.json  /home/james/workspace/ad/xapp-descriptor/config.json
        {
            "status": "Created"
        }
         
         
         
      2. curl -X GET http://$(hostname):8090/api/charts | jq .
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
        100   268  100   268    0     0  53600      0 -::- -::- -::- 53600
        {
          *  *"ad": [
            {
              *      *"name": "ad",
              *      *"version": "0.0.2",
              *      *"description": "Standard xApp Helm Chart",
              *      *"apiVersion": "v1",
              *      *"appVersion": "1.0",
              *      *"urls": [
                **        "charts/ad-0.0.2.tgz"
              ],
              *      *"created": "2022-05-06T19:33:47.610274067Z",
              *      *"digest": "4c87e321946882c48ae4e03aca9b56d9f7abd6060db0ce5de9ddc7a776427c8f"
            }
          ]
        }
         
        However,  installation of the xApp is not successful:
         
      3. dms_cli install ad 0.0.2 ricxapp
        Error: This command needs 1 argument: chart name
         
        status: NOT_OK
         
        I even tried with the override option and pretty much the same error:
         
      4. dms_cli download_values_yaml ad 0.0.2 --output-path=/tmp
        status: OK
      5. dms_cli install ad 0.0.2 ricxapp /tmp/values.yaml 
        Error: This command needs 1 argument: chart name
         
        mv: cannot move 'ad' to '/tmp/helm_template/ad': Directory not empty
        status: NOT_OK
         
        Please investigate.

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

            righteousneighbor Dana Baker
            pceicicd James Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: