Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid stuck task_state on snapshot image failure
Fixes bug LP 1101136 Previously if the glance interaction failed prior to an instance being snapshot'd or backed up, the task state remained stuck at image_snapshot/backup. The normal task state reversion logic did not kick in, as this is limited to the compute layer, whereas the intial glance interaction occurs within the API layer. Now, we avoid this problem by delaying setting the task state until the initial image creation has completed. Change-Id: Id498ae6b3674306743013e4fe99837da8e2031b5
- Loading branch information
Eoghan Glynn
committed
Jan 28, 2013
1 parent
f6081d0
commit 21d5e90
Showing
2 changed files
with
52 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters