Dear Volodymyr, all,
thanks for your fast answer ...
but I'm still facing the same problem, still can't ping the instance
with configured and up OVS bridge ... may because I'm quite new to
OpenStack and OpenVswitch and didn't see the problem ;)
My setup is devstack Mitaka in single machine config ... first of all I
didn't find there the openvswitch_agent.ini anymore, I remember in
previous version it was in the neutron/plugin folder ...
Is this config now done in the ml2 config file in the [OVS] section????
I'm really wondering ...
so I can ping between the 2 instances without any problem. But as soon I
bring up the OVS bridge inside the vm the ARP requests only visible at
the ens interface but not reaching the OVSbr ...
please find attached two files which may help for troubleshooting. One
are some network information from inside the Instance that runs the OVS
and one ovs-vsctl info of the OpenStack Host.
If you need more info/logs please let me know! Thanks for your help!
BR Mathias.
On 2018-01-27 22:44, Volodymyr Litovka wrote:
Hi Mathias,
whether you have all corresponding bridges and patches between them
as described in openvswitch_agent.ini using
integration_bridge
tunnel_bridge
int_peer_patch_port
tun_peer_patch_port
bridge_mappings
parameters? And make sure, that service "neutron-ovs-cleanup" is in
use during system boot. You can check these bridges and patches using
"ovs-vsctl show" command.
On 1/27/18 9:00 PM, Mathias Strufe (DFKI) wrote:
Dear all,
I'm quite new to openstack and like to install openVSwtich inside
one Instance of our Mitika openstack Lab Enviornment ...
But it seems that ARP packets got lost between the network
interface of the instance and the OVS bridge ...
With tcpdump on the interface I see the APR packets ...
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on ens6, link-type EN10MB (Ethernet), capture size 262144
bytes
18:50:58.080478 ARP, Request who-has 192.168.120.10 tell
192.168.120.6, length 28
18:50:58.125009 ARP, Request who-has 192.168.120.1 tell
192.168.120.6, length 28
18:50:59.077315 ARP, Request who-has 192.168.120.10 tell
192.168.120.6, length 28
18:50:59.121369 ARP, Request who-has 192.168.120.1 tell
192.168.120.6, length 28
18:51:00.077327 ARP, Request who-has 192.168.120.10 tell
192.168.120.6, length 28
18:51:00.121343 ARP, Request who-has 192.168.120.1 tell
192.168.120.6, length 28
but on the OVS bridge nothing arrives ...
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on OVSbr2, link-type EN10MB (Ethernet), capture size
262144 bytes
I disabled port_security and removed the security group but nothing
changed
+-----------------------+---------------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+---------------------------------------------------------------------------------------+
| admin_state_up | True
|
| allowed_address_pairs |
|
| binding:host_id | node11
|
| binding:profile | {}
|
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug":
true} |
| binding:vif_type | ovs
|
| binding:vnic_type | normal
|
| created_at | 2018-01-27T16:45:48Z
|
| description |
|
| device_id | 74916967-984c-4617-ae33-b847de73de13
|
| device_owner | compute:nova
|
| extra_dhcp_opts |
|
| fixed_ips | {"subnet_id":
"525db7ff-2bf2-4c64-b41e-1e41570ec358", "ip_address":
"192.168.120.10"} |
| id | 74b754d6-0000-4c2e-bfd1-87f640154ac9
|
| mac_address | fa:16:3e:af:90:0c
|
| name |
|
| network_id | 917254cb-9721-4207-99c5-8ead9f95d186
|
| port_security_enabled | False
|
| project_id | c48457e73b664147a3d2d36d75dcd155
|
| revision_number | 27
|
| security_groups |
|
| status | ACTIVE
|
| tenant_id | c48457e73b664147a3d2d36d75dcd155
|
| updated_at | 2018-01-27T18:54:24Z
|
+-----------------------+---------------------------------------------------------------------------------------+
maybe the port_filter causes still the problem? But how to disable
it?
Any other idea?
Thanks and BR Mathias.
_______________________________________________
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1]
Post to : [email protected]
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [1]
--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison
Links:
------
[1] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
--
Vielen Dank und Gruß Mathias.
Many Thanks and kind regards, Mathias.
--
Dipl.-Ing. (FH) Mathias Strufe
Wissenschaftlicher Mitarbeiter / Researcher
Intelligente Netze / Intelligent Networks
Phone: +49 (0) 631 205 75 - 1826
Fax: +49 (0) 631 205 75 – 4400
E-Mail: [email protected]
WWW: http://www.dfki.de/web/forschung/in
WWW: https://selfnet-5g.eu/
--------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122
D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter
Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
VAT-ID: DE 148 646 973
--------------------------------------------------------------
1ad9a0f2-6659-4a5a-b461-694cc93ef606
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port patch_int
Interface patch_int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port br-ex
Interface br-ex
type: internal
Port "ens7"
Interface "ens7"
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
Port "qvoa07a4f2a-41"
tag: 9
Interface "qvoa07a4f2a-41"
Port "qvo5f579bef-6b"
tag: 9
Interface "qvo5f579bef-6b"
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "qr-ab810e0b-5f"
tag: 10
Interface "qr-ab810e0b-5f"
type: internal
Port "qvo3e3a9128-4b"
tag: 10
Interface "qvo3e3a9128-4b"
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}
Port "qg-55d7fe54-cf"
tag: 2
Interface "qg-55d7fe54-cf"
type: internal
Port "tap4752dfac-65"
tag: 9
Interface "tap4752dfac-65"
type: internal
Port "tap3ff78b91-ee"
tag: 8
Interface "tap3ff78b91-ee"
type: internal
Port "qvo3fb8faf9-a3"
tag: 9
Interface "qvo3fb8faf9-a3"
Port "qvof51ca9e1-06"
tag: 8
Interface "qvof51ca9e1-06"
Port "qvo3e1c18a3-63"
tag: 10
Interface "qvo3e1c18a3-63"
Port "qvof6e78597-5c"
tag: 10
Interface "qvof6e78597-5c"
Port "tap3a54d0e4-51"
tag: 10
Interface "tap3a54d0e4-51"
type: internal
Port "qr-8cb5b23f-b6"
tag: 8
Interface "qr-8cb5b23f-b6"
type: internal
Port br-int
Interface br-int
type: internal
Port "qvobea997f9-e7"
tag: 10
Interface "qvobea997f9-e7"
Port "qg-b9a770a7-3b"
tag: 2
Interface "qg-b9a770a7-3b"
type: internal
Port "qvoe8c87951-6c"
tag: 8
Interface "qvoe8c87951-6c"
Port "qvo5e97ea14-25"
tag: 8
Interface "qvo5e97ea14-25"
ovs_version: "2.6.1"
System Info
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
================================
Kernel
4.4.0-101-generic
================================
Ifconfig:
OVSbr1 Link encap:Ethernet HWaddr 0e:a7:8e:4d:ca:43
inet addr:192.168.120.5 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::ca7:8eff:fe4d:ca43/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1
RX packets:111 errors:0 dropped:109 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12504 (12.5 KB) TX bytes:774 (774.0 B)
OVSbr2 Link encap:Ethernet HWaddr e2:b8:e6:9e:ff:42
inet addr:192.168.110.6 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::e0b8:e6ff:fe9e:ff42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1
RX packets:111 errors:0 dropped:109 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12678 (12.6 KB) TX bytes:774 (774.0 B)
ens3 Link encap:Ethernet HWaddr fa:16:3e:5b:d5:7d
inet addr:192.168.150.10 Bcast:192.168.150.255 Mask:255.255.255.0
inet6 addr: fe80::f816:3eff:fe5b:d57d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1
RX packets:15504 errors:0 dropped:0 overruns:0 frame:0
TX packets:12153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49494548 (49.4 MB) TX bytes:3289670 (3.2 MB)
ens4 Link encap:Ethernet HWaddr fa:16:3e:55:80:84
inet6 addr: fe80::f816:3eff:fe55:8084/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1450 Metric:1
RX packets:1041 errors:0 dropped:0 overruns:0 frame:0
TX packets:600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:48950 (48.9 KB) TX bytes:35108 (35.1 KB)
ens5 Link encap:Ethernet HWaddr fa:16:3e:67:67:ca
inet6 addr: fe80::f816:3eff:fe67:67ca/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1450 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2158 (2.1 KB) TX bytes:15174 (15.1 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:476 errors:0 dropped:0 overruns:0 frame:0
TX packets:476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:40504 (40.5 KB) TX bytes:40504 (40.5 KB)
ovs-system Link encap:Ethernet HWaddr 0e:4d:65:c2:e5:da
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
================================
Route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.150.1 0.0.0.0 UG 0 0 0 ens3
169.254.169.254 192.168.150.1 255.255.255.255 UGH 0 0 0 ens3
192.168.110.0 0.0.0.0 255.255.255.0 U 0 0 0 OVSbr2
192.168.120.0 0.0.0.0 255.255.255.0 U 0 0 0 OVSbr1
192.168.150.0 0.0.0.0 255.255.255.0 U 0 0 0 ens3
================================
iptable:
Chain PREROUTING (policy ACCEPT 1 packets, 68 bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 1 packets, 68 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 15 packets, 1855 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 15 packets, 1855 bytes)
pkts bytes target prot opt in out source destination
================================
ip forward enabled?
1
================================
OVS Version
ovs-vsctl (Open vSwitch) 2.5.2
Compiled Oct 17 2017 16:38:57
DB Schema 7.12.1
================================
Database config:
59aca356-8f37-4c6f-8c9a-504c66c65648
Bridge "OVSbr1"
Controller "tcp:192.168.53.49:6633"
is_connected: true
fail_mode: secure
Port "OVSbr1"
Interface "OVSbr1"
type: internal
Port "ens4"
Interface "ens4"
Bridge "OVSbr2"
Controller "tcp:192.168.53.49:6633"
is_connected: true
fail_mode: secure
Port "ens5"
Interface "ens5"
Port "OVSbr2"
Interface "OVSbr2"
type: internal
ovs_version: "2.5.2"
================================
List Ports on OVSbr1
ens4
List Ports on OVSbr2
ens5
================================
List Ports statistics on OVSbr1
OFPST_PORT reply (xid=0x2): 2 ports
port LOCAL: rx pkts=111, bytes=12504, drop=109, errs=0, frame=0, over=0, crc=0
tx pkts=11, bytes=774, drop=0, errs=0, coll=0
port 1: rx pkts=1041, bytes=48950, drop=0, errs=0, frame=0, over=0, crc=0
tx pkts=600, bytes=35108, drop=0, errs=0, coll=0
List Ports statistics on OVSbr2
OFPST_PORT reply (xid=0x2): 2 ports
port LOCAL: rx pkts=111, bytes=12678, drop=109, errs=0, frame=0, over=0, crc=0
tx pkts=11, bytes=774, drop=0, errs=0, coll=0
port 1: rx pkts=15, bytes=2158, drop=0, errs=0, frame=0, over=0, crc=0
tx pkts=133, bytes=15174, drop=0, errs=0, coll=0
================================
List Ports statistics on OVSbr1
OFPST_PORT_DESC reply (xid=0x2):
1(ens4): addr:fa:16:3e:55:80:84
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(OVSbr1): addr:0e:a7:8e:4d:ca:43
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
List Ports statistics on OVSbr2
OFPST_PORT_DESC reply (xid=0x2):
1(ens5): addr:fa:16:3e:67:67:ca
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
LOCAL(OVSbr2): addr:e2:b8:e6:9e:ff:42
config: 0
state: 0
speed: 0 Mbps now, 0 Mbps max
================================
List Bridge info OVSbr1
_uuid : 4d8ea70c-77ef-43ca-9a59-f9d43ae31b43
auto_attach : []
controller : [6ba42d69-0f79-44f5-ac3e-2405a79df99b]
datapath_id : "00000ea78e4dca43"
datapath_type : system
datapath_version : "<unknown>"
external_ids : {}
fail_mode : secure
flood_vlans : []
flow_tables : {}
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : "OVSbr1"
netflow : []
other_config : {}
ports : [9afb0f80-0207-4f3a-b75b-cea610b339a8,
b7a9f3ff-ec13-4427-9918-59b0e5461a5a]
protocols : ["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13"]
rstp_enable : false
rstp_status : {}
sflow : []
status : {}
stp_enable : false
List Bridge info OVSbr2
_uuid : 9ee6b8e0-e0b5-42ff-a986-26e0a0393ea8
auto_attach : []
controller : [02a33f75-43a1-468c-9670-3b73337ed7e3]
datapath_id : "0000e2b8e69eff42"
datapath_type : system
datapath_version : "<unknown>"
external_ids : {}
fail_mode : secure
flood_vlans : []
flow_tables : {}
ipfix : []
mcast_snooping_enable: false
mirrors : []
name : "OVSbr2"
netflow : []
other_config : {}
ports : [41deea99-644b-4485-9b3b-13eca41ccd8b,
9a746526-9685-45ed-a4ff-0a00b51bbcfc]
protocols : ["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13"]
rstp_enable : false
rstp_status : {}
sflow : []
status : {}
stp_enable : false
================================
Dump Flows OVSbr1:
NXST_FLOW reply (xid=0x4):
cookie=0x2b0000000000000b, duration=537.014s, table=0, n_packets=0, n_bytes=0,
idle_age=537, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x2b0000000000000b, duration=533.033s, table=0, n_packets=535,
n_bytes=23702, idle_age=0, priority=2,in_port=1 actions=CONTROLLER:65535
cookie=0x2b0000000000000b, duration=537.014s, table=0, n_packets=6,
n_bytes=448, idle_age=533, priority=0 actions=drop
Dump Flows OVSbr2:
NXST_FLOW reply (xid=0x4):
cookie=0x2b0000000000000a, duration=537.045s, table=0, n_packets=0, n_bytes=0,
idle_age=537, priority=100,dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x2b0000000000000a, duration=533.046s, table=0, n_packets=2,
n_bytes=84, idle_age=532, priority=2,in_port=1 actions=CONTROLLER:65535
cookie=0x2b0000000000000a, duration=537.040s, table=0, n_packets=2,
n_bytes=112, idle_age=533, priority=0 actions=drop
================================
OpenVSwitch Log:
2018-01-31T20:24:19.542Z|00243|rconn|WARN|OVSbr2<->tcp:192.168.53.49:6633:
connection failed (Network is unreachable)
2018-01-31T20:24:19.542Z|00244|rconn|INFO|OVSbr2<->tcp:192.168.53.49:6633:
waiting 4 seconds before reconnect
2018-01-31T20:24:20.541Z|00245|in_band|WARN|OVSbr1: cannot find route for
controller (192.168.53.49): No such device or address
2018-01-31T20:24:20.541Z|00246|in_band|WARN|OVSbr2: cannot find route for
controller (192.168.53.49): No such device or address
2018-01-31T20:24:23.541Z|00247|rconn|INFO|OVSbr1<->tcp:192.168.53.49:6633:
connecting...
2018-01-31T20:24:23.541Z|00248|rconn|INFO|OVSbr2<->tcp:192.168.53.49:6633:
connecting...
2018-01-31T20:24:23.547Z|00249|rconn|INFO|OVSbr2<->tcp:192.168.53.49:6633:
connected
2018-01-31T20:24:23.549Z|00250|rconn|INFO|OVSbr1<->tcp:192.168.53.49:6633:
connected
2018-01-31T20:24:33.600Z|00251|connmgr|INFO|OVSbr2<->tcp:192.168.53.49:6633: 3
flow_mods in the 3 s starting 10 s ago (3 adds)
2018-01-31T20:24:33.618Z|00252|connmgr|INFO|OVSbr1<->tcp:192.168.53.49:6633: 3
flow_mods in the 3 s starting 10 s ago (3 adds)
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack