In at least one case (see bug report) files have been deleted between
when we check that they exist and when we actually attempt the deletion.
Since we ultimately just want the file gone, we shouldn't care if we
get an error that the file does not exist and just move on.
Reviewed: https:/ /review. openstack. org/479853 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=2ee6e04276e 3c26e3f05ef1075 1786cc170e877e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2ee6e04276e3c26 e3f05ef10751786 cc170e877e
Author: Sean McGinnis <email address hidden>
Date: Mon Jul 3 14:57:11 2017 +0000
Handle file delete races in image cache
In at least one case (see bug report) files have been deleted between
when we check that they exist and when we actually attempt the deletion.
Since we ultimately just want the file gone, we shouldn't care if we
get an error that the file does not exist and just move on.
Change-Id: Iaf71109fc66596 50075ab4b4b48ae c57819fb0b5
Closes-bug: #1229823