Validation fails for RouterInterface resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Oleksii Chuprykov | ||
Kilo |
Fix Released
|
Medium
|
Angus Salkeld |
Bug Description
The following template fails to be validated by heat:
heat_template_
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:
type: OS::Neutron::Net
properties:
name: the_internal_
internal_subnet:
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:
type: OS::Neutron::Router
properties:
name: the_router
external_
network: {get_param: ext_network}
router_interface:
type: OS::Neutron:
properties:
router: {get_attr: [router, name]}
subnet: {get_resource: internal_subnet}
floating_ip:
type: OS::Neutron:
properties:
floating_
floating_
type: OS::Neutron:
properties:
floatingi
port_id: {get_resource: server_port}
Traceback (most recent call last):
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
Changed in heat: | |
assignee: | nobody → Oleksii Chuprykov (ochuprykov) |
summary: |
- resource validation fails + Validation fails for RouterInterface resource |
description: | updated |
Changed in heat: | |
status: | Incomplete → In Progress |
Changed in heat: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
That's a poorly described bug. Can you redefine precisely how validation fails? And at least add a description? Thanks.