Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionThadeu Lima de Souza Cascardo
2016-11-14 17:54:06 UTC
OVS picks pick up a source address for a route it detects from the system interfaces. When using the userspace datapath and setting up a tunnel, fail to detect such address may prevent the tunnel from being used.
This would happen when the destination address does not share an network with any of the source addresses for the outgoing interface.
For example, an interface with:
311: fakebr: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 72:80:39:c5:f8:47 brd ff:ff:ff:ff:ff:ff
inet 172.16.100.2/24 scope global fakebr
valid_lft forever preferred_lft forever
And route:
172.16.101.3 via 172.16.100.4 dev fakebr src 172.16.100.2
cache
would fail in the case our tunnel lies in 172.16.101.3 and the route has netmask 255.255.255.0.
This might not be the case always because OVS has a related bug in which it will use an incorrect netmask, because it does an incorrect dereference. So, reproducing this issue might not be easy.
Cascardo.
Comment 1Thadeu Lima de Souza Cascardo
2016-11-14 17:59:42 UTC
I have patches prepared for this, it should be backported to 2.6.
I realized this code was different in 2.5, so it should not be affected. 2.5 had other drawbacks when multiple source addresses were present on the same interface.
Cascardo.
Comment 3Thadeu Lima de Souza Cascardo
2016-11-16 12:35:41 UTC
This is an upstream bug, affected branches upstream have already been patched.
Cascardo.
OVS picks pick up a source address for a route it detects from the system interfaces. When using the userspace datapath and setting up a tunnel, fail to detect such address may prevent the tunnel from being used. This would happen when the destination address does not share an network with any of the source addresses for the outgoing interface. For example, an interface with: 311: fakebr: <BROADCAST,PROMISC> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 72:80:39:c5:f8:47 brd ff:ff:ff:ff:ff:ff inet 172.16.100.2/24 scope global fakebr valid_lft forever preferred_lft forever And route: 172.16.101.3 via 172.16.100.4 dev fakebr src 172.16.100.2 cache would fail in the case our tunnel lies in 172.16.101.3 and the route has netmask 255.255.255.0. This might not be the case always because OVS has a related bug in which it will use an incorrect netmask, because it does an incorrect dereference. So, reproducing this issue might not be easy. Cascardo.