Unhandled exception in get_replication_snapshot

Bug #1386875 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Peter Stachowski

Bug Description

Unexpected errors that occur while generating the replication snapshot (for example, TemplatesNotFound) are not logged. This can lead to accidental hiding of the root cause of a problem.

The error should be written to the log and then re-thrown as a TroveError.

Changed in trove:
assignee: nobody → Peter Stachowski (peterstac)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

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

Reviewed: https://review.openstack.org/131565
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=18001e00055a8a4b282c1ced892989152409319b
Submitter: Jenkins
Branch: master

commit 18001e00055a8a4b282c1ced892989152409319b
Author: Peter Stachowski <email address hidden>
Date: Tue Oct 28 01:47:11 2014 -0400

    Fix exception handling in get_replication_snapshot

    Unexpected errors that occur while generating the replication snapshot
    (for example, TemplatesNotFound) are not logged. This can lead to
    accidental hiding of the root cause of a problem.

    All exceptions are now written to the log and then re-thrown.

    Change-Id: I48de0e099494b204a8b109caedb4b86a616024f1
    Closes-Bug: #1386875

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
importance: Undecided → Medium
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-1 → 2015.1.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.