Instance with volume attached not properly suspended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Paul Van Eck |
Bug Description
When creating a stack with an instance that utilizes its "Volumes" property (like below), a problem arises when trying to suspend the stack. After issuing the "action-suspend" subcommand, the stack will eventually go into the "SUSPEND_COMPLETE" state. However, upon further inspection, one will see that the volume has been successfully detached, but the instance is still ACTIVE. This means one cannot successfully resume the stack because a conflict error will arise saying, "Cannot 'resume' while instance is in vm_state active (HTTP 409)."
Template:
{
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2:
"InstanceType" : "m1.small",
{ "VolumeId" : { "Ref" : "NewVolume" },
}
]
}
},
"NewVolume" : {
"Type" : "AWS::EC2::Volume",
"Properties" : {
"Size" : "3",
}
}
}
}
description: | updated |
Changed in heat: | |
assignee: | nobody → Paul Van Eck (pvaneck-z) |
Changed in heat: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/76126
Review: https:/