Ask Your Question
2

AWS::EC2::InternetGateway does not work

asked 2013-10-24 23:22:43 -0500

nora gravatar image

Hello. I use heat template to create a vpc network. I have already created an external network and a VPC, each network has a subnet. VPC has a router which has already connected to its subnet. However, when I use resource InternetGateway I can not connect the router to the external network's subnet. I don't know why...

Could somebody tell me how to do it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-01-19 02:56:48 -0500

updated 2015-01-19 03:01:52 -0500

SamYaple gravatar image

Hi. Unfortunately, it's very difficult to determine issue without information about your OpenStack version, heat services logs and template. So I can only give some recommendations and advises about this: According to the heat code in master branch [1] this resource does not configure anything. Try to use [2] AWS::EC2::VPCGatewayAttachment to create necessary relations with your networks. Note, that this resource requires to have enabled neutron service [3].

From other side you could try to use neutron resources for your aims [4]

[1] [https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L55-L56](https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L55-L56)

[2] [https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L75](https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L75)

[3] [https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L100](https://github.com/openstack/heat/blob/master/heat/engine/resources/internet_gateway.py#L100)

[4] [http://docs.openstack.org/developer/heat/template_guide/openstack.html?highlight=neutron](http://docs.openstack.org/developer/heat/template_guide/openstack.html?highlight=neutron)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-10-24 23:22:43 -0500

Seen: 136 times

Last updated: Jan 19 '15