5G-Spector icon indicating copy to clipboard operation
5G-Spector copied to clipboard

Error while deploying the core network

Open m-wojnar opened this issue 1 year ago • 4 comments

Dear 5G-Spector developers,

I have a problem while deploying the core network. I followed the installation instructions on the "5G‐Spector Artifact in a Simulated LTE Network" wiki page and was able to successfully download the VM, install the dependencies, and import and run the VM. However, when I run the make omen command, I get an error:

error: timed out waiting for the condition on pods/upf-0
mk/epc.mk:11: recipe for target '/home/vagrant/sdran-in-a-box//workspace/milestones/omec' failed
make: *** [/home/vagrant/sdran-in-a-box//workspace/milestones/omec] Error 1

Running the command kubectl get pods -n riab gives the result:

NAME          READY   STATUS             RESTARTS       AGE
cassandra-0   1/1     Running            0              7m37s
hss-0         1/1     Running            0              7m37s
mme-0         4/4     Running            0              7m37s
pcrf-0        1/1     Running            0              7m37s
spgwc-0       2/2     Running            0              7m37s
upf-0         2/4     CrashLoopBackOff   11 (34s ago)   6m21s

I tried following the troubleshooting section and restarting all services, but failed to resolve the problem with commands:

cd ~/sdran-in-a-box
make reset-test && make omec && make OPT=ric

I am using a fresh installation of Ubuntu 24.04 on an x86-64 machine.

m-wojnar avatar Jul 28 '24 09:07 m-wojnar

Could you provide the log of the upf-0 container that has crashed?

For example: kubectl logs upf-0 -n riab --previous

onehouwong avatar Aug 01 '24 04:08 onehouwong

Of course, the command kubectl logs upf-0 -n riab --previous gives me an output:

error: a container name must be specified for pod upf-0, choose one of: [bessd routectl web cpiface] or one of the init containers: [bess-init]

Below are the outputs for the following containers:

  • bessd
+ bessd -m 0 -f -grpc-url=0.0.0.0:10514
  • routectl
/opt/bess/bessctl/conf/route_control.py:311: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if item.prefix_len is 0:
Deprecation warning https://docs.pyroute2.org/ipdb_toc.html
Connecting to BESS daemon...
Error connecting to BESS daemon. Retrying in 2sec...
Error connecting to BESS daemon. Retrying in 2sec...
Error connecting to BESS daemon. Retrying in 2sec...
Error connecting to BESS daemon. Retrying in 2sec...
Error connecting to BESS daemon. Retrying in 2sec...
Traceback (most recent call last):
  File "/opt/bess/bessctl/conf/route_control.py", line 517, in <module>
    main()
  File "/opt/bess/bessctl/conf/route_control.py", line 483, in main
    connect_bessd()
  File "/opt/bess/bessctl/conf/route_control.py", line 438, in connect_bessd
    raise Exception('BESS connection failure.')
Exception: BESS connection failure.
  • web
Error from server (BadRequest): previous terminated container "web" in pod "upf-0" not found
  • cpiface
Error from server (BadRequest): previous terminated container "cpiface" in pod "upf-0" not found
  • bess-init
Error from server (BadRequest): previous terminated container "bess-init" in pod "upf-0" not found

m-wojnar avatar Aug 10 '24 10:08 m-wojnar

Thanks for sharing the logs. It looks like the connection to the BESS daemon has failed. So far we haven't run into this issue and we could not offer a solution for this. We notice you have been running with ubuntu 24.04 as the host, which might be the problem. The SD-RAN RiAB environment has been tested on ubuntu 18.04 (https://docs.sd-ran.org/master/sdran-in-a-box/docs/HW_Installation_intro.html) so it might be better to use the same version.

onehouwong avatar Aug 13 '24 03:08 onehouwong

Thank you for your feedback. I'll consider downgrading to Ubuntu 18.04 as suggested and retesting the environment.

m-wojnar avatar Aug 13 '24 09:08 m-wojnar

I'm also trying to simulate a 5G-Spector artifact in an LTE network, but I can't get the VM image, it shows that the link is expired, how do I get the image?

HUAYAN999 avatar Nov 04 '24 04:11 HUAYAN999

I'm also trying to simulate a 5G-Spector artifact in an LTE network, but I can't get the VM image, it shows that the link is expired, how do I get the image? You can download it from https://zenodo.org/records/10154551

yanggao017 avatar Jan 02 '25 08:01 yanggao017