Comment 29 for bug 1878024

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (stable/ussuri)

Reviewed: https://review.opendev.org/737990
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a6a48e876c9c4f9a218de882270ef098d46bf767
Submitter: Zuul
Branch: stable/ussuri

commit a6a48e876c9c4f9a218de882270ef098d46bf767
Author: Balazs Gibizer <email address hidden>
Date: Fri Jun 19 11:18:04 2020 +0200

    Guard against missing image cache directory

    The original fix of bug 1878024 missed an edge case where on a fresh
    hypervisor the image cache directory hasn't been created yet. That
    directory is only created when the first image is downloaded.

    This patch makes sure that if the cache dir hasn't been created yet then
    0 disk is reserved for the cache usage instead of raising and logging an
    exception.

    Change-Id: Id1bbc955a9099de1abc11b9063fe177896646d03
    Related-Bug: #1878024
    Closes-Bug: #1884214
    (cherry picked from commit a85753778f710f03616a682d294f8f638dea6baf)