Bug 1301534 - The gateway_ip attribute for the isolated networks are not accurate
The gateway_ip attribute for the isolated networks are not accurate
Status: POST
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
7.0 (Kilo)
Unspecified Unspecified
medium Severity medium
: ---
: 12.0 (Pike)
Assigned To: Dan Sneddon
Shai Revivo
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-25 05:20 EST by Marius Cornea
Modified: 2017-11-14 14:54 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 500146 None None None 2017-11-14 14:54 EST

  None (edit)
Description Marius Cornea 2016-01-25 05:20:20 EST
Description of problem:
The gateway_ip attribute for the isolated networks are not accurate. It is always set to the first address in the cidr. 

In the case of external network the gateway should be set to the value specified in the ExternalInterfaceDefaultRoute parameter. 

ExternalInterfaceDefaultRoute: 2001:db8:fd00:1000:dead:beef:cafe:f00
stack@instack:~>>> neutron subnet-show external_subnet | egrep "allocation_pools|cidr|gateway"
| allocation_pools  | {"start": "2001:db8:fd00:1000::02", "end": "2001:db8:fd00:1000:ffff:ffff:ffff:fffe"} |
| cidr              | 2001:db8:fd00:1000::/64                                                              |
| gateway_ip        | 2001:db8:fd00:1000::1                                                                |

In the case of the other isolated networks there should be no gateway_ip set:

stack@instack:~>>> neutron subnet-show storage_subnet | egrep "allocation_pools|cidr|gateway"
| allocation_pools  | {"start": "fd00:fd00:fd00:3000::10", "end": "fd00:fd00:fd00:3000:ffff:ffff:ffff:fffe"} |
| cidr              | fd00:fd00:fd00:3000::/64                                                               |
| gateway_ip        | fd00:fd00:fd00:3000::1                                                                 |

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-0.8.6-112.el7ost.noarch

This doesn't affect functionality since we're assigning the addresses statically on the overcloud nodes.
Comment 1 Angus Thomas 2016-01-26 13:57:30 EST
Given that this bug doesn't affect functionality, I'm reloving it from the list of candidates to fix in 7.3.
Comment 3 Mike Burns 2016-04-07 17:03:37 EDT
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.
Comment 5 Dan Sneddon 2016-10-14 14:56:57 EDT
This is a cosmetic issue, but it will be superseded by new functionality which uses the gateway_ip more logically. Setting this to OSP 11 (Ocata) for now for tracking.
Comment 6 Bob Fournier 2017-09-06 19:50:02 EDT
Upstream fix is https://review.openstack.org/#/c/499385/
Comment 8 Bob Fournier 2017-11-14 14:54:53 EST
> can you make sure this is targeted correctly?
> rhos-12.0.z? but target release 11

Thanks for catching this Jon. Fixed the target release to be 12.  Also fixed the Gerrit ID.  This isn't planned for backporting to Ocata.

Note You need to log in before you can comment on or make changes to this bug.