[ovs-discuss] Can't add Bridge

Ramzah Rehman ramzahrehman at gmail.com
Wed Sep 12 05:42:53 UTC 2018


The issue got resolved. I had to run the command as root.

On Tue, Sep 11, 2018 at 9:31 PM Ramzah Rehman <ramzahrehman at gmail.com>
wrote:

> I have been trying to create a bridge with openvswitch using the command
> on Ubuntu 18.04:
>
> ovs-vsctl add-br br1 --set bridge br1 datapath_type=netdev
>
> but I keep getting this error:
>
> ovs-vsctl: Error detected while setting up 'br0'.  See ovs-vswitchd log for details.
> ovs-vsctl: The default log directory is "/usr/local/var/log/openvswitch".
>
> When I checked logs I found operation not permitted error.
>
> Content from the log file:
>
> 2018-09-11T11:10:35.659Z|00255|ofproto_dpif|ERR|failed to open datapath of type netdev: Operation not permitted
> 2018-09-11T11:10:35.659Z|00256|ofproto|ERR|failed to open datapath br1: Operation not permitted
> 2018-09-11T11:10:35.659Z|00257|bridge|ERR|failed to create bridge br1: Operation not permitted
>
> I tried changing file/folder permissions allowing everyone to read, write
> and execute on the folder, but nothing worked.
>
> Any help in this regard will really be appreciated.
>
> Best Regards,
>
> Ramzah Rehman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180912/4153b414/attachment-0001.html>


More information about the discuss mailing list