diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-01-18 09:40:37 -0800 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-01-21 18:59:12 -0800 |
commit | e306beac9297f4311aa3989e93b0bd19eb4d7c77 (patch) | |
tree | 03d01346b39626f344d40f6eb11fa09681a9052a /nova/exception.py | |
parent | a4d608fa33b328d7ed77c7f9c40ffbb43c0ade6b (diff) | |
download | nova-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