stack delete fails with Resource delete failed: UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
High
|
Unassigned |
Bug Description
Getting the following on deleting a stack.
command used
heat create precise --template-
openstack@
* master 6f26ac6 Merge "Add keystone_authtoken section into the heat.conf.sample"
openstack@
+------
| id | stack_name | stack_status | creation_time |
+------
| 82aa2108-
openstack@
+------
| Property | Value |
+------
| capabilities | [] |
| creation_time | 2013-10-
| description | Template to create multiple instances. |
| disable_rollback | True |
| id | 82aa2108-
| links | http://
| notification_topics | [] |
| parameters | { |
| | "NumInstances": "1", |
| | "SubnetUuid": "02b9d8f5-
| | "AWS::StackName": "precise", |
| | "ImageId": "precise", |
| | "AWS::StackId": "arn:openstack:
| | "KeyName": "heat_key", |
| | "AWS::Region": "ap-southeast-1", |
| | "InstanceType": "m1.small" |
| | } |
| stack_name | precise |
| stack_status | DELETE_FAILED |
| stack_status_reason | Resource delete failed: UnicodeDecodeError: 'utf8' |
| | codec can't decode byte 0xdf in position 1: invalid |
| | continuation byte |
| template_
| timeout_mins | 60 |
| updated_time | 2013-10-
+------
2013-10-17 16:24:07.846 18674 ERROR heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
2013-10-17 16:24:07.846 18674 TRACE heat.engine.
{
"AWSTemplateF
"Description" : "Template to create multiple instances.",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances",
"Type" : "String",
"Default" : "heat_key"
},
"InstanceType" : {
"Description" : "Instance type",
"Type" : "String",
"Default" : "m1.small",
"
"
},
"ImageId" : {
"Description" : "Name of the image to use",
"Type" : "String",
"Default" : "F17-x86_
},
"NumInstances": {
"Default": "1",
"MinValue": "1",
"MaxValue": "1001",
"Description" : "Number of instances to create",
"Type": "Number"
},
"SubnetUuid" : {
"Description" : "Subnet UUID",
"Default" : "02b9d8f5-
"Type" : "String"
}
},
"Resources" : {
"JobServerG
"Type" : "OS::Heat:
"Properties" : {
"Size" : {"Ref": "NumInstances"},
}
},
"JobServerC
"Type" : "AWS::AutoScali
"Properties": {
"ImageId" : { "Ref" : "ImageId" },
"KeyName" : { "Ref" : "KeyName" },
"UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [
]]}}
}
}
}
}
Changed in heat: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in heat: | |
assignee: | nobody → Chmouel Boudjnah (chmouel) |
Changed in heat: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in heat: | |
assignee: | Chmouel Boudjnah (chmouel) → nobody |
This issue is seen occasionally when bringing up the above template and then deleting the template.
The are no errors on create.