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
- Connect to Compute Resource via SSH
- Load Openvswitch kernel module with the command:
# /usr/share/openvswitch/scripts/ovs-kmod-ctl insert
- Backup the log file:
# cp /var/log/openvswitch/ovs-vswitchd.log /root/ovs-vswitchd.log
- Clean up the log file:
# echo '' > /var/log/openvswitch/ovs-vswitchd.log
Comments
0 commentsPlease sign in to leave a comment.