Comment 7 for bug 1799221

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

Reviewed: https://review.openstack.org/612393
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=864c074ff15db601c896dadc2842ae703861c0dd
Submitter: Zuul
Branch: master

commit 864c074ff15db601c896dadc2842ae703861c0dd
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