Mailinglist Archive: opensuse-bugs (4297 mails)

< Previous Next >
[Bug 1040377] New: [wicked] unable to add gre tunnel into ovs bridge by ifcfg files
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 23 May 2017 12:53:15 +0000
  • Message-id: <bug-1040377-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1040377


Bug ID: 1040377
Summary: [wicked] unable to add gre tunnel into ovs bridge by
ifcfg files
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: thehejik@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Created attachment 726043
--> http://bugzilla.opensuse.org/attachment.cgi?id=726043&action=edit
wicked logs

I'm trying to setup two machines, each with its own ovs-bridge containing tap
devices. Those two bridges should be connected over GRE tunnel.

It works like a charm when I use ovs-vsctl CLI for adding GRE into current osv
bridge:
ovs-vsctl add-port br1 gre1 -- set interface gre1 type=gre
options:remote_ip=10.100.51.62 (and the same command ending with
"options:remote_ip=10.100.51.209" on other machine)

But problem is that when I want to create corresponding enslaved gre1 by
ifcfg-gre1 file for adding GRE tunnel into ovs bridge.

file ifcfg-br1:
BOOTPROTO='static'
IPADDR='10.0.2.2/15' # Yes, same address for both machines
STARTMODE='auto'
OVS_BRIDGE='yes'
OVS_BRIDGE_PORT_DEVICE_1='tap0'
...
OVS_BRIDGE_PORT_DEVICE_12=tap131
OVS_BRIDGE_PORT_DEVICE_13='gre1'

file ifcfg-tap*:
BOOTPROTO='none'
IPADDR=''
NETMASK=''
PREFIXLEN=''
STARTMODE='auto'
TUNNEL='tap'
TUNNEL_SET_GROUP='nogroup'
TUNNEL_SET_OWNER='_openqa-worker'

file ifcfg-gre1:
STARTMODE='auto'
BOOTPROTO='none'
TUNNEL='gre'
TUNNEL_LOCAL_IPADDR='10.100.51.209' # (REMOTE and LOCAL IPs are swapped
on other machine)
TUNNEL_REMOTE_IPADDR='10.100.51.62'
TUNNEL_TTL='64'

After performing # wicked ifup br1 the bridge is up, but there is some problem
with gre tunnel and the connection to other bridge is not established.
# ovs-vsctl show
Port "br1"
Interface "br1"
type: internal
Port "gre1"
Interface "gre1"
error: "could not add network device gre1 to ofproto (Invalid
argument)" <--- THIS IS PROBABLY THE PROBLEM
Port "tap2"
Interface "tap2"
... and so on

Did I miss something or the support for GRE tunnel within OVS bridge is just
not implemented yet? SuSEFirewall2 is set properly, because when using
ovs-vsctl then everything works.

Logs according to
https://en.opensuse.org/index.php?title=openSUSE:Bugreport_wicked attached.

Using current Tumbleweed snapshot, wicked 0.6.39 and openvswitch 2.7.0

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >