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

On Tue, Sep 11, 2018 at 9:31 PM Ramzah Rehman <[email protected]>
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
>
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to