Comment 10 for bug 1799221

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

Reviewed: https://review.openstack.org/629091
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=bf89f76fb1b7a52299c17467106018eae01608e8
Submitter: Zuul
Branch: stable/rocky

commit bf89f76fb1b7a52299c17467106018eae01608e8
Author: Francois Deppierraz <email address hidden>
Date: Mon Oct 22 15:33:25 2018 +0200

    cinder-volume: Stop masking IOError different than ENOSPC

    When glanceclient raises an IOError with a different errno than ENOSPC,
    cinder-volume silently masked it and continued its volume creation
    process. The result was volumes with invalid content being successfuly
    created.

    With the patch, an ImageDownloadFailed exception is raised in this case,
    which makes the volume creation process fail and gives enough
    information to operators for troubleshooting.

    Change-Id: Ic011fe30b4840e5098db1a594ea276ec98768bff
    Closes-Bug: #1799221
    (cherry picked from commit 864c074ff15db601c896dadc2842ae703861c0dd)