Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

ACA Segment Faulting when started after busybox container is started #229

Description

@kiran1048

On a compute node, start a busy box container and assign a IP/MAC to the container instance through:
docker run -itd --name --net=none busybox sh
ovs-docker add-port br-int eth1 --ipaddress=

--macaddress=

This creates a bridge br-int. Thereafter when you start the ACA on the same compute node, we see ACA crashing with segmentation fault as shown below:
$ ./build/bin/AlcorControlAgent -d
ACA_OVS_L2_Programmer::setup_ovs_bridges_if_need ---> Entering
ACA_OVS_L2_Programmer::execute_ovsdb_command ---> Entering
Executing command: ovs-vsctl br-exists br-int
Trying to init a new sub to connect to the NCM
After initing a new sub to connect to the NCM
Streaming capable GRPC server listening on 0.0.0.0:50001
Command succeeded!
Elapsed time for system command took: 4480 microseconds or 4 milliseconds.
Elapsed time for ovsdb client call took: 4536 microseconds or 4 milliseconds. rc: 0
ACA_OVS_L2_Programmer::execute_ovsdb_command <--- Exiting, rc = 0
ACA_OVS_L2_Programmer::execute_ovsdb_command ---> Entering
Executing command: ovs-vsctl br-exists br-tun
Command failed!!! rc: 512
Elapsed time for system command took: 4017 microseconds or 4 milliseconds.
Elapsed time for ovsdb client call took: 4074 microseconds or 4 milliseconds. rc: 512
ACA_OVS_L2_Programmer::execute_ovsdb_command <--- Exiting, rc = 512
Invalid environment br-int=1 and br-tun=0, cannot proceed
ACA_OVS_L2_Programmer::setup_ovs_bridges_if_need <--- Exiting, overall_rc = 1
Segmentation fault (core dumped)
(root:FW0009098):/root/pingtest/alcor-control-agent [master]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions