Traceback (most recent call last):
File "/opt/stack/heat/heat_integrationtests/scenario/test_neutron_net.py", line 42, in test_resource_ref_by_names
File "/opt/stack/heat/heat_integrationtests/scenario/scenario_base.py", line 55, in launch_stack
expected_status=expected_status
File "/opt/stack/heat/heat_integrationtests/common/test.py", line 405, in stack_create
environment=env
File "/opt/stack/python-heatclient/heatclient/v1/stacks.py", line 135, in create
data=kwargs, headers=headers)
File "/opt/stack/python-heatclient/heatclient/common/http.py", line 265, in json_request
resp = self._http_request(url, method, **kwargs)
File "/opt/stack/python-heatclient/heatclient/common/http.py", line 220, in _http_request
raise exc.from_response(resp)
HTTPBadRequest: ERROR: At least one of the following properties must be specified: router, router_id
template:
heat_template_ version: 2013-05-23
description: HOT template to create Neutron network.
parameters:
ext_network:
type: string
description: External network for getting floating IPs
resources:
server_port:
type: OS::Neutron::Port
properties:
name: the_port
network: {get_attr: [internal_network, name]}
fixed_ips:
- subnet: {get_attr: [internal_subnet, name] }
internal_network: network
type: OS::Neutron::Net
properties:
name: the_internal_
internal_subnet: n_pools:
type: OS::Neutron::Subnet
properties:
name: the_internal_subnet
network: {get_attr: [internal_network, name]}
ip_version: 4
cidr: 10.0.3.0/24
allocatio
- {start: 10.0.3.20, end: 10.0.3.150}
router: gateway_ info:
type: OS::Neutron::Router
properties:
name: the_router
external_
network: {get_param: ext_network}
router_interface: :RouterInterfac e
type: OS::Neutron:
properties:
router: {get_attr: [router, name]}
subnet: {get_resource: internal_subnet}
floating_ip: :FloatingIP network: {get_param: ext_network}
type: OS::Neutron:
properties:
floating_
floating_ ip_assoc: :FloatingIPAsso ciation p_id: {get_resource: floating_ip}
type: OS::Neutron:
properties:
floatingi
port_id: {get_resource: server_port}
Traceback (most recent call last): heat/heat_ integrationtest s/scenario/ test_neutron_ net.py" , line 42, in test_resource_ ref_by_ names heat/heat_ integrationtest s/scenario/ scenario_ base.py" , line 55, in launch_stack status= expected_ status heat/heat_ integrationtest s/common/ test.py" , line 405, in stack_create python- heatclient/ heatclient/ v1/stacks. py", line 135, in create python- heatclient/ heatclient/ common/ http.py" , line 265, in json_request request( url, method, **kwargs) python- heatclient/ heatclient/ common/ http.py" , line 220, in _http_request response( resp)
File "/opt/stack/
File "/opt/stack/
expected_
File "/opt/stack/
environment=env
File "/opt/stack/
data=kwargs, headers=headers)
File "/opt/stack/
resp = self._http_
File "/opt/stack/
raise exc.from_
HTTPBadRequest: ERROR: At least one of the following properties must be specified: router, router_id