Closed gth828r closed 1 year ago
For the record, I am running on GCP with an Ubuntu 20.04 VM with 8 cores, 32 GB of RAM, and a 32 GB disk. Below are my notes for the commands which I ran (largely just copied from the documentation, with a few fixes that seemed to help resolve setup issues after a few failed attempts)
# 1. Set up the RIC
git clone https://github.com/openaicellular/oaic.git
cd oaic
git submodule update --init --recursive
# Perform this to get example configs
git submodule update --init --recursive --remote
cd RIC-Deployment/RECIPE_EXAMPLE
cd ../..
cd RIC-Deployment/tools/k8s/bin
./gen-cloud-init.sh
sudo apt-get update
sudo ./k8s-1node-cloud-init-k_1_16-h_2_17-d_cur.sh
# The machine will reboot here
sudo kubectl create ns ricinfra
sudo helm install stable/nfs-server-provisioner --namespace ricinfra --name nfs-release-1
sudo kubectl patch storageclass nfs -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
sudo apt install -y nfs-common
sudo docker run -d -p 5001:5000 --restart=always --name ric registry:2
cd oaic/ric-plt-e2/
cd RIC-E2-TERMINATION
sudo docker build -f Dockerfile -t localhost:5001/ric-plt-e2:5.5.0 .
sudo docker push localhost:5001/ric-plt-e2:5.5.0
cd ~/oaic/RIC-Deployment/bin
sudo ./deploy-ric-platform -f ../RECIPE_EXAMPLE/PLATFORM/example_recipe_oran_e_release_modified_e2.yaml
# 2. Set up srsRAN with an E2 agent
sudo apt-get install -y build-essential cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev libtool autoconf
sudo apt-get install -y libzmq3-dev
sudo add-apt-repository ppa:ettusresearch/uhd
sudo apt-get update
sudo apt-get install -y libuhd-dev libuhd4.4.0 uhd-host
cd ~/oaic/asn1c
sudo apt install libtool autoconf
git checkout velichkov_s1ap_plus_option_group
autoreconf -iv
./configure
make -j`nproc`
sudo make install
sudo ldconfig
cd ~/oaic/srsRAN-e2/
mkdir build
export SRS=`realpath .`
cd build
cmake ../ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DRIC_GENERATED_E2AP_BINDING_DIR=${SRS}/e2_bindings/E2AP-v01.01 \
-DRIC_GENERATED_E2SM_KPM_BINDING_DIR=${SRS}/e2_bindings/E2SM-KPM \
-DRIC_GENERATED_E2SM_GNB_NRT_BINDING_DIR=${SRS}/e2_bindings/E2SM-GNB-NRT
make -j`nproc`
sudo make install
sudo ldconfig
sudo srsran_install_configs.sh user --force
cd ../../..
I am glad you were able to resolve. Sometimes restarting the pods can help and make sure all needed pods are in fact in the running state before trying. E2 Setup response can take a few minutes sometimes.
Hello, thank you for your response. Sorry for the confusion, but I never resolved the reported error of:
Failed retrieving E2TInstance
What I listed in my follow-up comment previously was just the steps I had taken to get to that point. I have since been trying other projects, so this is not urgent on my end; however, it would be great to have multiple projects to experiment with to ensure things like compatibility and spec compliance. I'll be sure to try again in the future and see where things stand!
Hello, and thanks for your great project!
I am walking through the steps at https://openaicellular.github.io/oaic/oran_installation.html trying to set up a single machine to run the RIC, EPC, eNB, and UEs with ZMQ. I am able to see the E2 messages generated by the E2 agent on the eNB, but I never see a response. When I look at the E2 manager logs, I see the following:
Is there something obvious that I have done wrong? Has anyone else seen this issue?