CI: Use host network mode in NSA-B200 pipeline
Following a power cycle of the CI machines in the NSA-B200 setup, the gNB machine encountered a networking issue. Although packets were observed leaving and returning to the host of gNB, they failed to reach the container. Debugging steps taken: - upgraded the gNB machine - reinstalled Docker - reviewed and verified IP rules and routing settings Setting the container to use host network mode resolved the issue.
This commit is contained in:
@@ -169,10 +169,10 @@ gNBs =
|
|||||||
|
|
||||||
NETWORK_INTERFACES :
|
NETWORK_INTERFACES :
|
||||||
{
|
{
|
||||||
GNB_IPV4_ADDRESS_FOR_S1_MME = "192.168.68.194";
|
GNB_IPV4_ADDRESS_FOR_S1_MME = "172.21.16.109";
|
||||||
GNB_IPV4_ADDRESS_FOR_S1U = "192.168.68.194";
|
GNB_IPV4_ADDRESS_FOR_S1U = "172.21.16.109";
|
||||||
GNB_PORT_FOR_S1U = 2152; # Spec 2152
|
GNB_PORT_FOR_S1U = 2152; # Spec 2152
|
||||||
GNB_IPV4_ADDRESS_FOR_X2C = "192.168.68.194";
|
GNB_IPV4_ADDRESS_FOR_X2C = "172.21.16.109";
|
||||||
GNB_PORT_FOR_X2C = 36422; # Spec 36422
|
GNB_PORT_FOR_X2C = 36422; # Spec 36422
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ services:
|
|||||||
- IPC_LOCK
|
- IPC_LOCK
|
||||||
ulimits:
|
ulimits:
|
||||||
core: -1 # for core dumps
|
core: -1 # for core dumps
|
||||||
|
network_mode: "host"
|
||||||
environment:
|
environment:
|
||||||
USE_B2XX: 'yes'
|
USE_B2XX: 'yes'
|
||||||
USE_ADDITIONAL_OPTIONS: --nsa -E -q --RUs.[0].sdr_addrs serial=30C51D4 --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function
|
USE_ADDITIONAL_OPTIONS: --nsa -E -q --RUs.[0].sdr_addrs serial=30C51D4 --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function
|
||||||
@@ -16,9 +17,6 @@ services:
|
|||||||
- /dev/bus/usb/:/dev/bus/usb/
|
- /dev/bus/usb/:/dev/bus/usb/
|
||||||
volumes:
|
volumes:
|
||||||
- ../../conf_files/gnb.nsa.band78.106prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
|
- ../../conf_files/gnb.nsa.band78.106prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
|
||||||
networks:
|
|
||||||
public_net:
|
|
||||||
ipv4_address: 192.168.68.194
|
|
||||||
#entrypoint: /bin/bash -c "sleep infinity"
|
#entrypoint: /bin/bash -c "sleep infinity"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# pgrep does NOT work
|
# pgrep does NOT work
|
||||||
@@ -26,12 +24,3 @@ services:
|
|||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
networks:
|
|
||||||
public_net:
|
|
||||||
name: nsa-b200-gnb-net
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 192.168.68.192/26
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.name: "nsa-gnb-net"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user