diff options
author | Pádraig Brady <pbrady@redhat.com> | 2012-02-02 14:56:54 +0000 |
---|---|---|
committer | Pádraig Brady <pbrady@redhat.com> | 2012-02-02 15:12:58 +0000 |
commit | 3db5b1e7099e1c10d557577350dc28e323c70af4 (patch) | |
tree | ded3e3a2430b23ddc7e7b05a135bf9ab86523f52 /nova/context.py | |
parent | 638ea669694f3083145e2300b362ded6749d74a1 (diff) | |
download | nova-3db5b1e7099e1c10d557577350dc28e323c70af4.tar.gz nova-3db5b1e7099e1c10d557577350dc28e323c70af4.tar.xz nova-3db5b1e7099e1c10d557577350dc28e323c70af4.zip |
fix stale libvirt images on download failure. Bug 801412
If we've just truncated/created the file to receive
the download, but the download fails, then delete the file.
Otherwise subsequent downloads would not be attempted.
Change-Id: Ibe9ba199b2f424d570ce7aedfb768ce283816a3b
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions