Swift 1.5.0 occasionally returns 5xx errors for what were (mostly) valid responses

Bug #1012714 reported by gholt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
High
gholt

Bug Description

After tracking down the issue in our environment, we discovered we needed to do the following:

Make proxy-logging more like eventlet.posthook

The old use of Eventlet's posthook process meant that responses that
forgot to include content-length or transfer-encoding headers would
get one tacked on, if Eventlet could guess what was probably meant. I
added a bit of that logic into proxy-logging now as we saw some
errors resulting from this.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/8458
Committed: http://github.com/openstack/swift/commit/8b778c706af47f4804c9c4d72176185142e6127c
Submitter: Jenkins
Branch: master

commit 8b778c706af47f4804c9c4d72176185142e6127c
Author: gholt <email address hidden>
Date: Wed Jun 13 00:40:44 2012 +0000

    Make proxy-logging more like eventlet.posthook

    The old use of Eventlet's posthook process meant that responses that
    forgot to include content-length or transfer-encoding headers would
    get one tacked on, if Eventlet could guess what was probably meant. I
    added a bit of that logic into proxy-logging now as we saw some
    errors resulting from this.

    Fixes Bug #1012714

    Change-Id: I671453eaf3704eab814ff12c4625ba7d749cc7ed

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