Project

General

Profile

Actions

Bug #1331

closed

Object creation with invalid Content-Length above actual results in BotoClientError

Added by Stephon Striplin over 12 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Amazon gives the following:

400 Bad Request
RequestTimeout

Check test_object_create_bad_contentlength_mismatch_above in s3tests/functional/test_headers.py to verify.

Actions #1

Updated by Yehuda Sadeh over 12 years ago

  • Category set to 22
Actions #2

Updated by Yehuda Sadeh over 12 years ago

I modified the code to handle this correctly, but alas, we're hitting an apache bug:

https://issues.apache.org/bugzilla/show_bug.cgi?id=51103

We're returning the correct error (if the request actually reaches us, this is not always true), but apache still returns 200 in this case. We may be able to solve this in the load balancer layer.

Actions #3

Updated by Sage Weil over 12 years ago

  • Target version set to v0.34
  • Translation missing: en.field_position set to 792
Actions #4

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (803)
  • Translation missing: en.field_position set to 6
Actions #5

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position deleted (7)
  • Translation missing: en.field_position set to 31
Actions #6

Updated by Yehuda Sadeh over 12 years ago

  • Status changed from New to Resolved

Fixed, commit:09f41761dfd3a3329e851418e7dc5c475c34e735. Also pushed fix to deployment tree.

Actions #7

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Target version deleted (v0.34)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF