put_object obscures reason when if fails

Bug #1081746 reported by David Kranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-swiftclient
Confirmed
Undecided
Unassigned

Bug Description

The Connection class has reset/retry logic that cannot work with ordinary put_object. So put_object raises a ClientException
if the put fails. But the code in put_object._default_reset throws away the actual information in the primary exception so the client cannot know why the call failed.

Revision history for this message
Joel Wright (joel-wright-k) wrote :

This would certainly still seem to be the case for 500 errors and possibly some 498 errors in the case that put_object._default_reset is in use.

Changed in python-swiftclient:
status: New → Confirmed
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.