OS::Neutron::Subnet can't refer to OS::Neutron::SubnetPool created in same template
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
heat version - 8.0.1
Step to reproduce:
1. template:
heat_template_
description: test template
resources:
test_subnetpool:
type: OS::Neutron:
properties:
default_
max_
min_
prefixes:
- "192.168.0.0/16"
test_net1:
type: OS::Neutron::Net
depends_on: test_subnetpool
test_subnet1:
type: OS::Neutron::Subnet
depends_on: test_subnetpool
properties:
network: { get_resource: test_net1 }
ip_version: 4
subnetpool: { get_resource: test_subnetpool }
prefixlen: 25
2. try to start template
Expected: heat create SubnetPool and assign subnet from pool to test_net1
Observed: "ERROR: At least one of the following properties must be specified: subnetpool, cidr."
heat-engine.log contain:
2017-07-18 15:08:53.687 2977411 INFO heat.engine.service [req-a609a8a1-
2017-07-18 15:08:53.754 2977411 DEBUG neutronclient.
2017-07-18 15:08:53.758 2977411 DEBUG oslo_policy.
2017-07-18 15:08:53.762 2977411 DEBUG oslo_policy.policy [req-a609a8a1-
2017-07-18 15:08:53.770 2977411 DEBUG heat.engine.
2017-07-18 15:08:53.771 2977411 INFO heat.engine.
2017-07-18 15:08:53.774 2977411 INFO heat.engine.
2017-07-18 15:08:53.775 2977411 INFO heat.engine.
2017-07-18 15:08:53.776 2977411 DEBUG heat.engine.stack [req-a609a8a1-
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → pike-3 |
Fix proposed to branch: master /review. openstack. org/485024
Review: https:/