Comment 3 for bug 1172645

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

Reviewed: https://review.openstack.org/27472
Committed: http://github.com/openstack/cinder/commit/3d18b30329183c6d89f287c5dd23248cbcc24607
Submitter: Jenkins
Branch: master

commit 3d18b30329183c6d89f287c5dd23248cbcc24607
Author: Dermot Tynan <email address hidden>
Date: Thu Apr 25 10:46:34 2013 +0100

    Clear volumes stuck in 'downloading'

    If the CinderVolume service is restarted while an image-copy is
    happening, the volume gets left in a 'downloading' state and
    cannot be used or deleted. This fix adds code to init_host to
    look for volumes (on this host) in such a state, and move them
    to an error state. It also calls clear_download in the driver
    in case the driver needs to perform an action, such as
    detaching the volume.

    Fixes Bug #1172645

    Change-Id: Ia5dab9ebf997f573c0b4e57d983f5996af81ede5