Handle missing temp volume and snapshot during backup cleanup

Bug #1484774 reported by Xing Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Xing Yang

Bug Description

When backup service is started, we try to clean up temp volumes and snapshots in previously failed backups. If the temp volume or snapshot is already deleted, we'll get VolumeNotFound or SnapshotNotFound error. These should be handled. Also temp_volume_id and temp_snapshot_id should be set to None after they are deleted.

Tags: backup
Xing Yang (xing-yang)
Changed in cinder:
assignee: nobody → Xing Yang (xing-yang)
milestone: none → liberty-3
tags: added: backup
Changed in cinder:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

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

Reviewed: https://review.openstack.org/212962
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=454bdf0f0fc5d0eb58fa87855700995345c93fc6
Submitter: Jenkins
Branch: master

commit 454bdf0f0fc5d0eb58fa87855700995345c93fc6
Author: Xing Yang <email address hidden>
Date: Sun Aug 9 22:41:21 2015 -0400

    Handle missing temp volume and snapshot during cleanup

    When backup service is started, we try to clean up temp volumes
    and snapshots in previously failed backups. If the temp volume
    or snapshot is already deleted, we will get VolumeNotFound or
    SnapshotNotFound exceptions. These exceptions should be handled.
    Also temp_volume_id and temp_snapshot_id should be set to None
    after they are deleted.

    Change-Id: Ia20834bcc89040364bce71fc66c32c1777a5ac11
    Closes-Bug: #1484774

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-3 → 7.0.0
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.