Add gateway_ip on OS::Neutron::Subnet

Bug #1588379 reported by Dimitri Savineau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Dimitri Savineau

Bug Description

By default the Heat resource (OS::Neutron::Subnet) who manages the creation of the neutron subnet of the overcloud doesn't use the gateway_ip parameter [1].

"If omitted when creation, neutron will assign the first free IP address within the subnet to the gateway automatically"

That means all the neutron subnets created for the overcloud are configured with the first free ip in this range as a gateway and it doesn't allow to used this ip for an overcloud node.

$ neutron subnet-show -c cidr -c gateway_ip storage_mgmt_subnet
+------------+----------------+
| Field | Value |
+------------+----------------+
| cidr | 10.154.23.0/24 |
| gateway_ip | 10.154.23.1 |
+------------+----------------+

In general we don't need a routable network for internal/tenant/storage*/management.
For the external network we need to configure the gateway reflecting the ExternalInterfaceDefaultRoute parameter.

[1] http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::Subnet-prop-gateway_ip

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/324541

Changed in tripleo:
assignee: nobody → Dimitri Savineau (dsavineau)
status: New → In Progress
Brent Eagles (beagles)
Changed in tripleo:
importance: Undecided → Medium
Steven Hardy (shardy)
Changed in tripleo:
milestone: none → newton-rc2
Changed in tripleo:
milestone: newton-rc2 → ocata-1
tags: added: newton-rc-potential
tags: added: newton-backport-potential
removed: newton-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/324541
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1fa4c02fc310163da351bacbf19f2d52b46e50b3
Submitter: Jenkins
Branch: master

commit 1fa4c02fc310163da351bacbf19f2d52b46e50b3
Author: Dimitri Savineau <email address hidden>
Date: Thu Jun 2 09:55:11 2016 -0400

    Add gateway_ip in OS::Neutron::Subnet

    This patch allows to :
      - disable the gateway ip for non routable network
      - use the first ip in the subnet
      - set the correct gateway on the external network

    Change-Id: Idc816c782856e93ecd339b3aca2a7f53c1564b1d
    Closes-bug: #1588379
    Depends-On: I8ea6733fe46902e1baeff4ccfbcd42ecc5a1825f

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/379873

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/379873
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=de5aabed40bcc38389f9414ad5b118d0fbb02cbd
Submitter: Jenkins
Branch: stable/newton

commit de5aabed40bcc38389f9414ad5b118d0fbb02cbd
Author: Dimitri Savineau <email address hidden>
Date: Thu Jun 2 09:55:11 2016 -0400

    Add gateway_ip in OS::Neutron::Subnet

    This patch allows to :
      - disable the gateway ip for non routable network
      - use the first ip in the subnet
      - set the correct gateway on the external network

    Change-Id: Idc816c782856e93ecd339b3aca2a7f53c1564b1d
    Closes-bug: #1588379
    Depends-On: I8ea6733fe46902e1baeff4ccfbcd42ecc5a1825f
    (cherry picked from commit 1fa4c02fc310163da351bacbf19f2d52b46e50b3)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0rc3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.0.0.0b1

This issue was fixed in the openstack/tripleo-heat-templates 6.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers