Hi all,
I'm trying to add another "physical network" bridge so that I will set
external-ids as follows:
ovs-vsctl set Open_vSwitch .
external-ids:ovn-bridge-mappings="physnet:br-ext,drgnet:br-drg"
So I create the bridge and try add the physical bond0 port to it:
ovs-vsctl add-br br-drg
ovs-vsctl set Open_vSwitch .
external-ids:ovn-bridge-mappings="physnet:br-ext,drgnet:br-drg"
ovs-vsctl add-port br-drg bond0
ovs-vsctl: Error detected while setting up 'bond0': could not add
network device bond0 to ofproto (File exists). See ovs-vswitchd log for
details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
The log says:
2022-08-17T15:01:20.499Z|181348|connmgr|INFO|br-drg: added service
controller "punix:/var/run/openvswitch/br-drg.mgmt"
2022-08-17T15:01:31.859Z|181349|dpif|WARN|system@ovs-system: failed to
add bond0 as port: File exists
2022-08-17T15:01:31.859Z|181350|bridge|WARN|could not add network device
bond0 to ofproto (File exists)
Looking at br-drg ports:
ovs-vsctl list-ports br-drg
bond0
Humm, it's there but I did not add it??
Output from ovs-vsctl show
ovs-vsctl show
07324b42-59e5-4488-91c9-5e0655ab22c4
Bridge br-int
fail_mode: secure
datapath_type: system
Port ovn-sca15--1
Interface ovn-sca15--1
type: geneve
options: {csum="true", key=flow, remote_ip="253.255.0.35"}
Port br-int
Interface br-int
type: internal
Port ovn-sca15--3
Interface ovn-sca15--3
type: geneve
options: {csum="true", key=flow, remote_ip="253.255.2.5"}
bfd_status: {diagnostic="No Diagnostic",
flap_count="1", forwarding="true", remote_diagnostic="No Diagnostic",
remote_state=up, state=up}
Port vnet1
Interface vnet1
Port patch-br-int-to-ln-ls_vcn2_external_drg
Interface patch-br-int-to-ln-ls_vcn2_external_drg
type: patch
options: {peer=patch-ln-ls_vcn2_external_drg-to-br-int}
Port ovn-sca15--4
Interface ovn-sca15--4
type: geneve
options: {csum="true", key=flow, remote_ip="253.255.2.17"}
bfd_status: {diagnostic="No Diagnostic",
flap_count="1", forwarding="true", remote_diagnostic="No Diagnostic",
remote_state=up, state=up}
Port ovn-sca15--2
Interface ovn-sca15--2
type: geneve
options: {csum="true", key=flow, remote_ip="253.255.0.33"}
Port ovn-sca15--0
Interface ovn-sca15--0
type: geneve
options: {csum="true", key=flow, remote_ip="253.255.0.34"}
Port vnet5
Interface vnet5
Port vnet3
Interface vnet3
Bridge br-ext
Port bond0.3900
Interface bond0.3900
Port br-ext
Interface br-ext
type: internal
Port patch-ln-ls_vcn2_external_drg-to-br-int
Interface patch-ln-ls_vcn2_external_drg-to-br-int
type: patch
options: {peer=patch-br-int-to-ln-ls_vcn2_external_drg}
Bridge br-drg
Port bond0
Interface bond0
error: "could not add network device bond0 to ofproto
(File exists)"
Port br-drg
Interface br-drg
type: internal
ovs_version: "2.16.90"
Humm there but says could not add the network device. OK So delete the
port then add it aagin:
ovs-vsctl del-port br-drg bond0
ovs-vsctl list-ports br-drg
ovs-vsctl add-port br-drg bond0
ovs-vsctl: Error detected while setting up 'bond0': could not add
network device bond0 to ofproto (File exists). See ovs-vswitchd log for
details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".
Any clues to what is going on?
All links from ip l:
--------------------
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 00:10:e0:da:ff:b5 brd ff:ff:ff:ff:ff:ff
3: eno3d1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 00:10:e0:da:ff:b6 brd ff:ff:ff:ff:ff:ff
4: enp59s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq
master bond0 state UP mode DEFAULT g
roup default qlen 1000
link/ether 98:03:9b:2d:91:a2 brd ff:ff:ff:ff:ff:ff
5: enp59s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq
master bond0 state UP mode DEFAULT g
roup default qlen 1000
link/ether 98:03:9b:2d:91:a2 brd ff:ff:ff:ff:ff:ff
6: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
virbr1 state UP mode DEFAULT group defau
lt qlen 1000
link/ether 00:10:e0:da:ff:b4 brd ff:ff:ff:ff:ff:ff
7: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP mode DEFAULT group defaul
t qlen 1000
link/ether 98:03:9b:2d:91:a2 brd ff:ff:ff:ff:ff:ff
9: virbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UP mode DEFAULT group default qlen
1000
link/ether 00:10:e0:da:ff:b4 brd ff:ff:ff:ff:ff:ff
10: bond0.3900@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue master ovs-system state UP mo
de DEFAULT group default qlen 1000
link/ether 98:03:9b:2d:91:a2 brd ff:ff:ff:ff:ff:ff
11: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue
state DOWN mode DEFAULT group default
qlen 1000
link/ether 52:54:00:8e:e5:76 brd ff:ff:ff:ff:ff:ff
12: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast master
virbr0 state DOWN mode DEFAULT group
default qlen 1000
link/ether 52:54:00:8e:e5:76 brd ff:ff:ff:ff:ff:ff
13: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:0a:3c:80 brd ff:ff:ff:ff:ff:ff
14: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
mode DEFAULT group default qlen 1000
link/ether a6:ef:91:c5:40:be brd ff:ff:ff:ff:ff:ff
15: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 52:09:78:1e:f8:f9 brd ff:ff:ff:ff:ff:ff
16: genev_sys_6081: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65000 qdisc
noqueue master ovs-system state UNKNOW
N mode DEFAULT group default qlen 1000
link/ether 62:ed:0c:bf:78:29 brd ff:ff:ff:ff:ff:ff
17: br-ext: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
state UNKNOWN mode DEFAULT group defaul
t qlen 1000
link/ether 98:03:9b:2d:91:a2 brd ff:ff:ff:ff:ff:ff
20: vnet3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:a3:83:98 brd ff:ff:ff:ff:ff:ff
21: vnet4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master ovs-system state UNKNOWN mode
DEFAULT group default qlen 1000
link/ether fe:54:00:80:d0:c8 brd ff:ff:ff:ff:ff:ff
22: vnet5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:3d:87:dc brd ff:ff:ff:ff:ff:ff
23: vnet6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master ovs-system state UNKNOWN mode
DEFAULT group default qlen 1000
link/ether fe:54:00:d8:6e:eb brd ff:ff:ff:ff:ff:ff
24: vnet7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:3e:fe:4f brd ff:ff:ff:ff:ff:ff
25: vnet8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master ovs-system state UNKNOWN mode
DEFAULT group default qlen 1000
link/ether fe:54:00:30:38:35 brd ff:ff:ff:ff:ff:ff
28: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:3e:c6:fc brd ff:ff:ff:ff:ff:ff
29: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc htb master
ovs-system state UNKNOWN mode DEFAULT
group default qlen 1000
link/ether fe:54:00:e6:4f:46 brd ff:ff:ff:ff:ff:ff
32: vnet9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master virbr1 state UNKNOWN mode DEFA
ULT group default qlen 1000
link/ether fe:54:00:8a:13:90 brd ff:ff:ff:ff:ff:ff
33: vnet10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
master ovs-system state UNKNOWN mode
DEFAULT group default qlen 1000
link/ether fe:54:00:9a:cc:2a brd ff:ff:ff:ff:ff:ff
34: br-drg: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode
DEFAULT group default qlen 1000
link/ether 16:c9:b6:fb:89:4d brd ff:ff:ff:ff:ff:ff
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss