diff options
author | Ben Nemec <bnemec@us.ibm.com> | 2013-03-07 23:00:03 +0000 |
---|---|---|
committer | David Peraza <dperaza@linux.vnet.ibm.com> | 2013-03-20 04:04:42 +0000 |
commit | 4a6a9da8e7d283b781ceee1b20a7f6f25144de57 (patch) | |
tree | 13eafd856bdb78da2cf5179a7f710bf0403b146d /nova/utils.py | |
parent | 143bd3adc274b4087fab5a3d003e662a09e52e2d (diff) | |
download | nova-4a6a9da8e7d283b781ceee1b20a7f6f25144de57.tar.gz nova-4a6a9da8e7d283b781ceee1b20a7f6f25144de57.tar.xz nova-4a6a9da8e7d283b781ceee1b20a7f6f25144de57.zip |
Fix Hyper V instance conflicts
Fixes bug 1152368
If the hyperv driver attempts to boot an instance and a previous
instance with the same name was not properly removed, the boot will
fail due to an error creating root.vhd. This only happens when
using CoW images. This fix deletes the instance directory before
creating the new instance so that there will never be an old image
to interfere with creation of the new one.
This is most likely to be an issue in development and test
environments that toggle between versions of nova with no migration
path.
Change-Id: I21eab01590c426234b4b9a55abec4b2d2df0e168
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions