Fail to add a new Compute Resource to SolusIO: failed to build bridge: failed probing network configuration: failed to find bridge 'br0' link after creation: Link not found

Have more questions? Submit a request

Applicable to:

  • SolusIO

Symptoms

  • A new CR can't be added with error:

    CONFIG_TEXT: /usr/src/agent/pkg/network/openvswitch.go:292 agent/pkg/network.assembleOvsBridgeSimpleOnLinux() ovs-vsctl --may-exist add-br br0 -- set bridge br0 other-config:hwaddr=0c:c4:7a:8f:65:a5 -- --may-exist add-port br0 enp1s0 : ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details.
    ovs-vsctl: Error detected while setting up 'enp1s0'. See ovs-vswitchd log for details.
    ovs-vsctl: The default log directory is "/var/log/openvswitch".
    /usr/src/agent/pkg/network/openvswitch.go:111 agent/pkg/network.ConfigureOvsBridgeOnLinux() failed to build bridge: failed probing network configuration: failed to find bridge 'br0' link after creation: Link not found

  • The log file /var/log/openvswitch/ovs-vswitchd.log contains the following:

    CONFIG_TEXT: 2019-05-20T11:08:29.408Z|00009|netlink_socket|INFO|netlink dump request error (No such file or directory)
    2019-05-20T11:08:29.408Z|00010|dpif|WARN|failed to enumerate system datapaths: No such file or directory
    2019-05-20T11:08:29.408Z|00011|dpif|WARN|failed to create datapath ovs-system: No such file or directory
    2019-05-20T11:08:29.408Z|00012|ofproto_dpif|ERR|failed to open datapath of type system: No such file or directory
    2019-05-20T11:08:29.408Z|00013|ofproto|ERR|failed to open datapath br0: No such file or directory
    2019-05-20T11:08:29.408Z|00014|bridge|ERR|failed to create bridge br0: No such file or directory

Cause

Openvswitch kernel module is not loaded.

Solution

  1. Connect to Compute Resource via SSH 
  2. Load Openvswitch kernel module with the command:

    # /usr/share/openvswitch/scripts/ovs-kmod-ctl insert

  3. Backup the log file:

    # cp /var/log/openvswitch/ovs-vswitchd.log /root/ovs-vswitchd.log

  4. Clean up the log file:

    # echo '' > /var/log/openvswitch/ovs-vswitchd.log

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.