Currently during resource suspend/resume/delete we manually
detach/re-attach volumes on AWS Instance resource.
This is not needed, as Nova already keeps volumes attached
to suspended instances, so the volume attachments are readily
available on resume, and automatically detaches volumes on
instance termination.
Besides, since AWS CFN has no support for stack/resource suspend/resume,
we do not have to keep compatibility with any CFN behavior
in this regard.
Reviewed: https:/ /review. openstack. org/166166 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=5781b740a34 c0c8551d7e65338 8eb7c54c084932
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5781b740a34c0c8 551d7e653388eb7 c54c084932
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Fri Mar 13 18:40:59 2015 +0200
Do not detach/re-attach volumes in AWS Instance
Currently during resource suspend/ resume/ delete we manually re-attach volumes on AWS Instance resource.
detach/
This is not needed, as Nova already keeps volumes attached
to suspended instances, so the volume attachments are readily
available on resume, and automatically detaches volumes on
instance termination.
Besides, since AWS CFN has no support for stack/resource suspend/resume,
we do not have to keep compatibility with any CFN behavior
in this regard.
Change-Id: I38234d68467b5a 4036e1a474a1e89 d10686e1c3e
Related-Bug: #1393268