Project

General

Profile

Actions

Bug #12993

closed

RGW/Swift sends an extra byte on error

Added by Pete Zaitcev over 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
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

I'm going to save this problem here because I have no time to look right now.

To reproduce, authenticate in Swift with our built-in v1.0 authenticator, then:

curl -v -H "X-Auth-Token: AUTH_rgwtk0b00000070726f64723a70726f6431fcc55a6e649a6534dbbaef55c3bc71129e06c879f5bb95d74916b6bfc0289e122adaa6bf" http://simbelmyne.zaitcev.lan:8080/swift/v1
< HTTP/1.1 404 Not Found
< X-Timestamp: 1441688737.85909
< X-Account-Container-Count: 0
< X-Account-Object-Count: 0
< X-Account-Bytes-Used: 0
< X-Account-Bytes-Used-Actual: 0
< X-Trans-Id: tx000000000000000000011-0055ee6ca1-a02e6-default
< Content-Length: 9
< Accept-Ranges: bytes
< Content-type: text/plain; charset=utf-8
< Date: Tue, 08 Sep 2015 05:05:37 GMT
<
  • Excess found in a non pipelined read: excess = 1, size = 9, maxdownload = 9, bytecount = 0
  • Connection #0 to host simbelmyne.zaitcev.lan left intact
    NoSuchKey
    <========== length of "NoSuchKey" is 9, so maybe a newline or zero.
Actions

Also available in: Atom PDF