On Fri, Apr 20, 2018 at 04:35:27PM +0200, Riccardo Ravaioli wrote:
> Hi all,
> 
> I bumped into a configuration error while trying to add a physical network
> interface to a switch:
> $ ovs-vsctl add-br myswitch
> $ ovs-vsctl add-port myswitch eth9
> ovs-vsctl: Error detected while setting up 'eth9': could not add network
> device eth9 to ofproto (File exists).  See ovs-vswitchd log for details.
> ovs-vsctl: The default log directory is "/opt/oa/var/log/openvswitch".
> 
> Then I go to the specified log file and I don't see much more:
> 2018-04-20T14:26:05.226Z|00174|dpif|WARN|system@ovs-system: failed to add
> eth9 as port: File exists
> 2018-04-20T14:26:05.226Z|00175|bridge|WARN|could not add network device
> eth9 to ofproto (File exists)
> 
> The interface is up and bound to the correct driver:
> # ip a show dev eth9
> 206: eth9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
> ovs-system state UP group default qlen 1000
>     link/ether 00:90:0b:54:88:58 brd ff:ff:ff:ff:ff:ff

"master ovs-system" means that the interface is already part of a Open
vSwitch bridge.  Probably you added it to an Open vSwitch bridge some
funny way?  What does "ovs-dpctl show" print?  How about "brctl show"?

Thanks,

Ben.
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to