Comment 2 for bug 1224211

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

Reviewed: https://review.openstack.org/46177
Committed: http://github.com/openstack/cinder/commit/4227b128a42a1c5785ac13245de511fbcd358e37
Submitter: Jenkins
Branch: master

commit 4227b128a42a1c5785ac13245de511fbcd358e37
Author: Joshua Harlow <email address hidden>
Date: Wed Sep 11 19:36:18 2013 -0700

    Catch generic exceptions

    When the driver copy_image_to_volume fails it can
    at the current time raise more than just CinderException
    as its root exception type. This causes rescheduling due
    to the blacklisted exception list that is used to determine
    if a exception is 'bad enough' to trigger rescheduling or
    should the volume creation action just set the volume to
    error state.

    To avoid the situation where this would cause a rescheduling
    we should make sure (for now) that any exception that is
    emitted on copying an image to a volume is translated
    into a image copy failure and reraised.

    Fixes: bug 1224211

    Change-Id: Ia4a0a81d9e0967b1e7de07577d77084462304c60