Comment 13 for bug 1621818

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/newton)

Reviewed: https://review.openstack.org/391091
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=68402ae5443fd811b3dcb41537b621935d23f4ad
Submitter: Jenkins
Branch: stable/newton

commit 68402ae5443fd811b3dcb41537b621935d23f4ad
Author: Joris S'heeren <email address hidden>
Date: Fri Sep 9 15:40:58 2016 +0200

    Catch error and log warning when not able to update mtimes

    When we launch an instance, nova updates the mtime for the _base image
    to let the image cache manager know the image is actively used. This
    can lead to unexpected I/O errors when launching a large amount of
    instances at once coming from the same _base image.

    This commit puts the execute call in a try, except block to catch
    possible errors. It also logs a warning with the path and error message.
    With this, at least once the update will succeed.

    Closes-Bug: #1621818

    Co-Authored-By: Matt Riedemann <email address hidden>

    Change-Id: I2fd1700aa4563a906eb574cbbe16caa63abae0d6
    Signed-off-by: Joris S'heeren <email address hidden>
    (cherry picked from commit 53da313a86e81bf1df75119ca0e8f857e7b2909c)