Reviewed: https://review.openstack.org/225660 Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=2a327bd01e4e8570c28f10ce4a205b31868f5056 Submitter: Jenkins Branch: master
commit 2a327bd01e4e8570c28f10ce4a205b31868f5056 Author: Maciej Kwiek <email address hidden> Date: Tue Sep 29 09:50:10 2015 +0200
Remove dangling symlinks after node log removal
Dangling symlinks caused snapshots to generate without part of logs. The symlinks were a leftover after deleteing logs from deleted nodes.
Existence of log folders was checked using os.path.exists function, it was changed to os.path.lexists, which returns True for broken symlinks.
Change-Id: I446df0595ba668800e89f378ab08bd33cec4fb56 Closes-Bug: #1494838
Reviewed: https:/ /review. openstack. org/225660 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=2a327bd01e4 e8570c28f10ce4a 205b31868f5056
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2a327bd01e4e857 0c28f10ce4a205b 31868f5056
Author: Maciej Kwiek <email address hidden>
Date: Tue Sep 29 09:50:10 2015 +0200
Remove dangling symlinks after node log removal
Dangling symlinks caused snapshots to generate without part of logs. The
symlinks were a leftover after deleteing logs from deleted nodes.
Existence of log folders was checked using os.path.exists function, it
was changed to os.path.lexists, which returns True for broken symlinks.
Change-Id: I446df0595ba668 800e89f378ab08b d33cec4fb56
Closes-Bug: #1494838