Stack fails to create when TimeoutInMinutes property is a string
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Angus Salkeld | ||
Havana |
Fix Released
|
Medium
|
Steve Baker |
Bug Description
Stack creation fails with the following template:
{
"AWSTemplateF
"Description": "",
"Mappings": {},
"Outputs": {},
"Parameters": {
"KeyName": {
"
"Type": "String"
},
"NbOfNodes": {
"Type": "String",
"Default": "1"
}
},
"Resources": {
"Nested": {
"Type": "AWS::CloudForm
"Properties": {
}
}
}
}
}
$ heat stack-show stack1
+------
| Property | Value |
+------
| capabilities | [] |
| creation_time | 2013-10-
| description | |
| disable_rollback | True |
| id | 7522d3a5-
| links | http://
| notification_topics | [] |
| parameters | { |
| | "AWS::StackId": "arn:openstack:
| | "KeyName": "test", |
| | "AWS::Region": "ap-southeast-1", |
| | "AWS::StackName": "stack1", |
| | "NbOfNodes": "1" |
| | } |
| stack_name | stack1 |
| stack_status | CREATE_FAILED |
| stack_status_reason | Resource create failed: TypeError: unsupported operand |
| | type(s) for +: 'float' and 'unicode' |
| template_
| timeout_mins | 60 |
| updated_time | 2013-10-
+------
Heat engine logs:
2013-10-17 10:07:09.710 ERROR heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
2013-10-17 10:07:09.710 TRACE heat.engine.
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
tags: | added: havana-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
tags: | removed: havana-backport-potential |
Changed in heat: | |
milestone: | icehouse-1 → 2014.1 |
Hmm, thanks, the CFN docs do say it should be a string:
http:// docs.aws. amazon. com/AWSCloudFor mation/ latest/ UserGuide/ aws-properties- stack.html