In some case lose information of the first exception in SwiftBackupDriver

Bug #1292380 reported by Kiyohiro Adachi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Kiyohiro Adachi

Bug Description

When an exception occurs during exception handling, it lose the
information of the first exception.

In SwiftBackupDriver.backup(), in some cases, before re-transmission
of the exception, the exception is rewritten.

Kiyohiro Adachi (adachi)
Changed in cinder:
assignee: nobody → Kiyohiro Adachi (adachi)
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/80502

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/80502
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=3f67de92cfcfc61ca26156961e1f2d4d2ebded66
Submitter: Jenkins
Branch: master

commit 3f67de92cfcfc61ca26156961e1f2d4d2ebded66
Author: KIYOHIRO ADACHI <email address hidden>
Date: Fri Mar 14 16:04:57 2014 +0900

    Fix unsaved exception in backup/drivers

    When an exception occurs during exception handling, it loses the
    information of the first exception.

    We should use the excutils.save_and_reraise_exception() in some cases.

    Change-Id: I5d0ea53ba6c52138c71cca61aedbdf06338f2a7d
    Closes-Bug: #1292380

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → juno-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-2 → 2014.2
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.