correct wait condition validation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
1. create a stack with wait condition resource:
*******
heat_template_
resources:
wch:
type: OS::Heat:
wc:
type: OS::Heat:
properties:
handle: whc
timeout: 120
outputs:
wch_signal:
value: {get_attr: [wch, signal]}
wc_data:
value: {get_attr: [wc, data]}
*******
2. due the typo 'whc' in property 'handle' of wc, the stack create failed, the reason is: Resource CREATE failed: AttributeError: resources.wc: 'NoneType' object has no attribute 'name' , and the output of wc_data is:
{
| | "output_value": null, |
| | "output_error": "'NoneType' object has no attribute 'metadata_get'", |
| | "output_key": "wc_data", |
| | "description": "No description given" |
| | },
3. something wrong happened when validating.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → pike-1 |
Changed in heat: | |
milestone: | pike-1 → pike-2 |
Changed in heat: | |
milestone: | pike-2 → pike-3 |
Fix proposed to branch: master /review. openstack. org/436782
Review: https:/