Upload failures to swift are not logged

Bug #1199125 reported by Jared Culp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Kun Huang

Bug Description

If an error occurs during a chunked upload to swift, _delete_stale_chunks is called to delete the orphaned chunks. The exception is being caught properly, but no error is being logged and accounted for.

In the logs, we see the upload, and then an immediate deletion, with no context as to why.

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/36163

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

Reviewed: https://review.openstack.org/36163
Committed: http://github.com/openstack/glance/commit/159a6491cd41843d856fbe06fc824c0a0230c88f
Submitter: Jenkins
Branch: master

commit 159a6491cd41843d856fbe06fc824c0a0230c88f
Author: Kun Huang <email address hidden>
Date: Tue Jul 9 11:55:23 2013 +0800

    improving error handling in chunked upload

    Keep traceback of chunked upload in a variable and raise it after
    deleting orphaned data to avoid covering sys.exc_info().

    fixed bug #1185609
    fixed bug #1199125

    Change-Id: If489f42bb97a01519d13de47eeb5d180b31ba6a7

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