In some case lose information of the first exception in store.rbd.Store

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

Bug Description

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

In glance.store.rbd.Store.add(), in some cases, before re-transmission
of the exception, the exception is rewritten.

Kiyohiro Adachi (adachi)
Changed in glance:
assignee: nobody → Kiyohiro Adachi (adachi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

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

Reviewed: https://review.openstack.org/80537
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=5b0ec5a3be0d92687c552f197f5474d5066a5a5c
Submitter: Jenkins
Branch: master

commit 5b0ec5a3be0d92687c552f197f5474d5066a5a5c
Author: KIYOHIRO ADACHI <email address hidden>
Date: Fri Mar 14 19:38:48 2014 +0900

    Fix unsaved exception in store.rbd.Store.add()

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

    We should use the excutils.save_and_reraise_exception() in this case.

    Change-Id: I1154e17d98804270f9578bc34a5fca6629bd9af4
    Closes-Bug: #1292455

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