Snapshots aren't cleaned up when coalesce fails

Bug #949471 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Rick Harris

Bug Description

If two VHDs aren't able to coalesce into each other, they will eventually timeout and raise an exception. In vmops:_create_snapshot this exception is swallowed preventing the snapshot from getting torn down.

We modify the code to re-raise the exception so we can cleanup.

Changed in nova:
assignee: nobody → Rick Harris (rconradharris)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/5058
Committed: http://github.com/openstack/nova/commit/4d7f428a2809765ed1c5e05ad790b1e33d905801
Submitter: Jenkins
Branch: master

commit 4d7f428a2809765ed1c5e05ad790b1e33d905801
Author: Rick Harris <email address hidden>
Date: Thu Mar 8 01:45:39 2012 +0000

    Don't swallow snapshot exceptions.

    Fixes bug 949471

    This raise is needed so that calling code can be notified to teardown
    the failed snapshot.

    Change-Id: I25a78e36b4bdb4ca52f1f999168a750dde134056

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-rc1 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.