commit | 0fedb410eb072763750c5af6df6d0e5d7a8af9cd | [log] [tgz] |
---|---|---|
author | mccasland, trevor (tm2086) <tm2086@att.com> | Mon Jan 21 13:37:58 2019 -0600 |
committer | mccasland, trevor (tm2086) <tm2086@att.com> | Thu Jan 24 14:01:02 2019 -0600 |
tree | ab79c8f50715a7bc7d90875475522d7522a2c30f | |
parent | 42c43807ebc2fe34f27c35ec612f43715f9f4c92 [diff] |
Ensure volume is deleted after build error When creating a test server and the volume fails to build a VolumeResourceBuildErrorException is raised causing a resource leak on the testing system[1] This change aims to remove the volume before raising the exception to the calling test so that the system is properly cleaned up of testing resources before exiting. [1] http://paste.openstack.org/show/743062/ Change-Id: Ib064e4f2cb113f98da73db519d855fa892515f66