Issue while deploying RiaB with OAI nFAPI emulator

93 views
Skip to first unread message

Lea Bays

unread,
Jun 21, 2022, 1:55:01 PM6/21/22
to SD-RAN-Dev

Hello, I hope you are doing well.

I am a student at the School of Engineering and Architecture of Fribourg (Switzerland). I am currently working on my Bachelor thesis, which focuses on O-RAN. In order to deploy a complete O-RAN architecture, I am following the instruction offered in the  documentation (https://docs.sd-ran.org/master/sdran-in-a-box/docs/Installation_OAI_nFAPI.html).

I'm facing a problem that I couldn't solve by myself, and in the "Troubleshooting" chapter, nothing helped either. As mentionned at the end of this chapter, I am now contacting the ONF SD-RAN team about an issue.

I cloned the git repository and want to use the master version. As directed, I executed the following command :

$ make riab OPT=oai VER=stable

However, I see some error messages while this command runs, eventhough I have all the prerequisites. They are as follows :

TASK [kubernetes/control-plane : Check which kube-control nodes are already members of the cluster] ***************************************************************

fatal: [node1]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/kubectl get nodes --selector=node-role.kubernetes.io/control-plane -o json", "msg": "[Errno 2]                                                                       No such file or directory: b'/usr/local/bin/kubectl': b'/usr/local/bin/kubectl'", "rc": 2}

 

TASK [kubernetes-apps/ansible : Kubernetes Apps | Register coredns deployment annotation `createdby`] *************************************************************

fatal: [node1]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/kubectl get deploy -n kube-system coredns -o jsonpath='{ .spec.template.metadata.annotations.c                                                                      reatedby }'", "delta": "0:00:00.070022", "end": "2022-06-21 09:22:34.967388", "msg": "non-zero return code", "rc": 1, "start": "2022-06-21 09:22:34.897366", "stder                                                                      r": "Error from server (NotFound): deployments.apps \"coredns\" not found", "stderr_lines": ["Error from server (NotFound): deployments.apps \"coredns\" not found"                                                                      ], "stdout": "", "stdout_lines": []}

 

When I use the next command to check if all the pods are deployed, 3 of them are missing :

 - kube-system   kubernetes-dashboard-667c4c65f8-cr6q5

 - kube-system   kubernetes-metrics-scraper-54fbb4d595-t8rgz

 - kube-system   onos-operator-config-7986b568b-9dznx

Hence, the tests cannot run properly.

Maybe am I just missing a step ? I noticed that the file "sdran-in-a-box-values.yaml" downloaded from the git repo had many lines commented in its fourth block - image tag block. I uncommented them in order to make the file correspond to the documentation, but the pods are still missing.

I tried everything that was described in the Troubleshooting chapter, I installed docker and kubectl before running the make command, I even re-installed my VM. Nothing seems to make it work.


Any help would be greatly appreciated.

Best regards,

Lea

Reply all
Reply to author
Forward
0 new messages