Bug 1185200
Summary: | [RFE][Neutron] Backport add onlink route when multiple external subnets | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Eduard Barrera <ebarrera> | |
Component: | openstack-neutron | Assignee: | Mike Kolesnik <mkolesni> | |
Status: | CLOSED ERRATA | QA Contact: | Itzik Brown <itbrown> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.0 | CC: | amuller, chrisw, dcadzow, ebarrera, ihrachys, jschluet, lpeer, lyarwood, mkolesni, mlopes, nyechiel, oblaut, sputhenp, tfreger, yeylon | |
Target Milestone: | z5 | Keywords: | FeatureBackport, FutureFeature, ZStream | |
Target Release: | 5.0 (RHEL 7) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-neutron-2014.1.4-2.el7ost | Doc Type: | Bug Fix | |
Doc Text: |
Previously, when using multiple subnets on an external network, traffic from one subnet to the other would be forwarded through the upstream router first.
This resulted in massive inefficiency, to the point that adoption of the concept of multiple subnets on an external network was hindered.
This update addresses this issue by adding an on-link route to each subnet.
As a result, a router connected to an external network is attached to one subnet, thus having one IP address (even if that network has multiple subnets). With this fix, the router will still consume an IP address from only one subnet, but also has an on-link route to all subnets on the network.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1188003 1255112 (view as bug list) | Environment: | ||
Last Closed: | 2015-09-10 11:52:08 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1188003, 1255112 |
Description
Eduard Barrera
2015-01-23 08:48:20 UTC
Eduard, Please see the link above posted by Ihar. This is a test package for the customer based on OSP-4. Please let us know if the build is providing the required functionality. After your confirmation we'll make it formally part of OSP-4 (available in OSP-4 A6). Thanks, Livnat The fix to OSP-5 is merged. Checked with openstack-neutron-2014.1.5-2.el7ost.noarch. When creating a router with multiple subnets I get the correct output: ip netns exec qrouter-07c1dc76-1926-47d6-ac90-add6e31ea1ae netstat -nar Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.35.175.101 0.0.0.0 UG 0 0 0 qg-e624b5da-33 10.35.175.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-e624b5da-33 192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-e624b5da-33 When doing the following steps: 1. Create a network with one subnet 2. Set the router's gateway 3. Add a subnet to the network. With the this scenario there is no additional route. After restarting the L3 agent the route is being added. Is it the expected behaviour? Indeed seems like a problematic behaviour. From my research it would seem that this is because the router doesn't get updated in such a scenario, thus the code to add the onlink route doesn't get triggered. When you restart the agent, the data is synced from the server so the agent does see the new route and adds it correctly. Since this backport is for icehouse and the code changed immensely, I suggest that you check if this still happens in Kilo (RHOS 7) and if it does report this as a new bug. Verified using openstack-neutron-2014.1.5-2.el7ost.noarch. I'll open a bug upstream regarding comment #19. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1754.html |