canonical / sdcore-upf-operator

Machine Charm for the SD-Core User Plane Function (UPF).
https://charmhub.io/sdcore-upf
Apache License 2.0
0 stars 0 forks source link

Bessctl configuration remains hanging #92

Closed dariofaccin closed 1 month ago

dariofaccin commented 5 months ago

Bug Description

Sometimes the bess configuration remains hanging. Running manually the command sudo sdcore-upf.bessctl run /snap/sdcore-upf/current/opt/bess/bessctl/conf/up4 returns the error provided in the log section. The command does not exit, causing the charm to be hanging forever.

To Reproduce

  1. Deploy sdcore-upf

Environment

Microk8s 1.29 Juju 3.4

Relevant log output

Setting up port enp6s0 on worker ids [0]
Failed to create AF_PACKET socket for enp6s0. Exiting...
*** Error: Unhandled exception in the configuration script (most recent call last)
  File "/snap/sdcore-upf/current/opt/bess/bessctl/conf/up4.bess", line 142, in <module>
    p.init_port(idx, parser.mode)
  File "/snap/sdcore-upf/42/opt/bess/bessctl/conf/ports.py", line 204, in init_port
    sys.exit()
SystemExit
  Command failed: run /snap/sdcore-upf/current/opt/bess/bessctl/conf/up4

Additional context

No response

gruyaume commented 1 month ago

@dariofaccin is this error still relevant?

dariofaccin commented 1 month ago

Closing as it is fixed by https://github.com/omec-project/bess/pull/62