summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2013-01-18 09:40:37 -0800
committerDevananda van der Veen <devananda.vdv@gmail.com>2013-01-21 18:59:12 -0800
commite306beac9297f4311aa3989e93b0bd19eb4d7c77 (patch)
tree03d01346b39626f344d40f6eb11fa09681a9052a /nova/exception.py
parenta4d608fa33b328d7ed77c7f9c40ffbb43c0ade6b (diff)
downloadnova-e306beac9297f4311aa3989e93b0bd19eb4d7c77.tar.gz
nova-e306beac9297f4311aa3989e93b0bd19eb4d7c77.tar.xz
nova-e306beac9297f4311aa3989e93b0bd19eb4d7c77.zip
PXE driver should rmtree directories it created
Baremetal PXE driver was failing to delete the per-instance tftpboot and image directories which it created when the instance was deleted. This happened partly because of dangling files within the directory, and partly because 'unlink' does not remove directories and the error was squelched. Now, when destroy()ing an instance, PXE driver will call shutil.rmtree() on the per-instance directories which it created. Fixes bug 1101048. Change-Id: I682d0264288add488ea23e5d5200357b7be52dd9
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions