get_attr used within list_join in SoftwareConfig returns none
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Tomas Sedovic | ||
Icehouse |
Fix Released
|
High
|
Zane Bitter |
Bug Description
Using the template below with:
`heat stack-create mystack -f overcloud.yaml -P image=fedora-
results in:
ERROR: Property error : my_config: config "list_join" must operate on a list
This seems to happen because `{get_attr: [servers, name]}` returns None during validation.
The template:
heat_template_
description: "software config using a joined list of ResourceGroup's inner attributes"
parameters:
key_name:
default: default
type: string
flavor:
type: string
image:
type: string
resources:
servers:
type: OS::Heat:
properties:
count: 1
resource_def:
type: OS::Nova::Server
properties:
flavor: {get_param: flavor}
image: {get_param: image}
key_name: {get_param: key_name}
my_config:
type: OS::Heat:
properties:
config:
nodes:
- ','
- {get_attr: [servers, name]}
Changed in heat: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
tags: | added: icehouse-backport-potential |
Changed in heat: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/115379
Review: https:/