No way to specify validation constraints on config inputs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Andrea Rosa |
Bug Description
Example:
ControlVirtualIP:
Type: OS::Neutron::Port
Properties:
name: control_virtual_ip
network_id: {Ref: NeutronControlP
controller0:
Type: OS::Nova::Server
Properties:
image:
Ref: controllerImage
image_
Ref: ImageUpdatePolicy
flavor:
Ref: OvercloudContro
key_name:
Ref: KeyName
user_
controllerConfig:
Type: OS::Heat:
Properties:
group: os-apply-config
config:
Bobinds: {get_input: VIP}
controller0Dep
Type: OS::Heat:
Properties:
config: {Ref: controllerConfig}
server: {Ref: controller0}
input_values:
- 0
- Fn::Select:
- ctlplane
- Fn::GetAtt:
- controller0
- networks
The value VIP is never defined which should be in controller0Depl
VIP:
Currently heat will supply a 'null' json value in it metadata for Bobinds. Heat should detect this and report and error in the template.
summary: |
- Heat does not detect get_input dependencies + No way to specify validation constraints on config inputs |
Changed in heat: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
More pithily - 'a missing input_value does not give an error'.