RouterGateway isn't a thing

Bug #1246064 reported by Zane Bitter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Bartosz Górski

Bug Description

Heat includes an OS::Neutron::RouterGateway resource that represents the connection between a router and the network on which its gateway resides.

This should not be modelled as a separate resource type. Doing so causes the dependency problems that require hacks to get things to build in the right order:
https://review.openstack.org/#/c/29857/
https://review.openstack.org/#/c/29858/

The gateway network should simply be a property of a Router, as it is in the Neutron API (add_gateway_router() just updates the 'external_gateway_info' attribute of a router).

So we need to:
* Add a property to the OS::Neutron::Router resource type to allow the external_gateway_info to be set
* Deprecate the RouterGateway resource with a view to removing it
* Eventually, delete the resource type and its related hacks

Revision history for this message
Rupak Ganguly (rupakg) wrote :

Totally agreed.

Changed in heat:
assignee: nobody → Bartosz Górski (bartosz-gorski)
Zane Bitter (zaneb)
Changed in heat:
importance: Undecided → Medium
status: New → Triaged
milestone: none → icehouse-1
Changed in heat:
milestone: icehouse-1 → icehouse-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/60118
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=6929d020eb542995c187f9fecd206c1aeb95d235
Submitter: Jenkins
Branch: master

commit 6929d020eb542995c187f9fecd206c1aeb95d235
Author: Bartosz Górski <email address hidden>
Date: Tue Nov 26 12:35:25 2013 -0800

    Add an external gateway property to neutron router

    Deprecates existing RouterGateway resource and adds external_gateway property
    to neutron Router resource to set up the gateway.

    Change-Id: Ic61a817e699d2a005c4eb2c5d7b23ae9a70567c0
    Closes-Bug: #1246064

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.