Reviewed: https://review.openstack.org/479853 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=2ee6e04276e3c26e3f05ef10751786cc170e877e Submitter: Jenkins Branch: master
commit 2ee6e04276e3c26e3f05ef10751786cc170e877e Author: Sean McGinnis <[email protected]> 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: Iaf71109fc6659650075ab4b4b48aec57819fb0b5 Closes-bug: #1229823 ** Changed in: glance Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1229823 Title: Image cache clean should catch the not exist exception Status in Glance: Fix Released Bug description: For image cache clean, Glance will remove the invalid files and stalled files, but if there is a cron job and at the same time if the admin has removed one of file before the cron job deletes it. There will be a non existed exception. It's rare but possible. As a result, that will not clean the entire cache i think To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1229823/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

