summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2013-01-22 15:44:21 +0000
committerEoghan Glynn <eglynn@redhat.com>2013-01-22 15:55:47 +0000
commitd6c527bb6b0ee63fc07b91855fcf4e15f7a03821 (patch)
tree44229a23d8cc72605717616acb09f0b4df87afcc /nova/utils.py
parentfab8af583bf6c363d2cebbc360ae2709325d80bd (diff)
downloadnova-d6c527bb6b0ee63fc07b91855fcf4e15f7a03821.tar.gz
nova-d6c527bb6b0ee63fc07b91855fcf4e15f7a03821.tar.xz
nova-d6c527bb6b0ee63fc07b91855fcf4e15f7a03821.zip
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 initial image creation/retrieval has completed. Change-Id: Id498ae6b3674306743013e4fe99837da8e2031b5
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions