Release volumes stuck in a downloading state.

Bug #1172645 reported by Dermot Tynan on 2013-04-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Dermot Tynan

Bug Description

During the creation of a bootable volume, the driver needs to copy a Glance image to the new volume. This process can take some time as the data can be quite large. Usually 'qemu-img' is used to perform the copy. If the CinderVolume service is restarted while this operation is ongoing, the volume is pegged in a 'downloading' state and cannot be used or deleted.

Fix proposed to branch: master
Review: https://review.openstack.org/27472

Changed in cinder:
assignee: nobody → Dermot Tynan (dtynan)
status: New → In Progress

I am out of the office until 05/12/2013.

For technical issues regarding the Storwize/SVC Cinder driver, please
contact: Jie Ping Wu <email address hidden>, Li Min Liu <email address hidden>,
Ronen Kat <email address hidden>
For all other issue, please contact my manager, Dalit Naor
<email address hidden>

Note: This is an automated response to your message "[Bug 1172645] [NEW]
Release volumes stuck in a downloading state." sent on 25/04/2013 12:44:02.

This is the only notification you will receive while this person is away.

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

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-05-29
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers