Project

General

Profile

Actions

Bug #16995

open

rgw files can't upload

Added by yao hu over 7 years ago. Updated over 7 years ago.

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

0%

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

Description

When I upload a file。rgw response ERR_LENGTH_REQUIRED。
this means file length is empty。I see the rgw log,I find nginx send CONTENT_LENGTH=638 and HTTP_CONTENT_LENGTH=638.
In RGWREST::preprocess 1703 line:
if (!http_content_length content_length) {
/* Easy case: one or the other is missing */
s->length = (content_length ? content_length : http_content_length);
this mean that if content_length and http_content_length is the same existed,length is null。I think that If content_length is the same to http_content_length ,length should not is Null

Actions #1

Updated by Yehuda Sadeh over 7 years ago

Try adding 'rgw content length compat = true' to your rgw config in ceph.conf.

Actions

Also available in: Atom PDF