Project

General

Profile

Actions

Bug #10682

closed

RGW swift API: specifying end_marker query parameter in url is not recognized by rgw in GET request for container/object.

Added by Ahmad Faheem about 9 years ago. Updated about 4 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce:

1. swift post container1
2. swift post container2
3. swift post container3
4. swift post container4

5. curl -i https://10.20.20.15:80/swift/v1?end_marker=container3 -X GET -H "x-auth-token: 6fdc42c59e6947b2bf32aa702d433e8a"

HTTP/1.1 200 OK
Date: Thu, 29 Jan 2015 07:51:35 GMT
Server: Apache/2.4.7 (Ubuntu)
Vary: Accept-Encoding
Content-Type: application/octet-stream
Connection: close
Transfer-Encoding: chunked

container1
container2
container3
container4

same query if run in swift returns:
5. curl -i http://10.0.2.15:8080/v1/AUTH_b2419ea9588d49ddbd8c006b5eb199ff?end_marker=container3 -X GET -H "X-Auth-Token: 016649e57fdf4c26998d5a68f5ef214d"

HTTP/1.1 200 OK
Content-Length: 12
X-Account-Object-Count: 4
X-Account-Storage-Policy-Policy-0-Bytes-Used: 1048582
X-Account-Storage-Policy-Policy-0-Container-Count: 5
X-Timestamp: 1419480678.41198
X-Account-Storage-Policy-Policy-0-Object-Count: 4
X-Account-Meta-Temp-Url-Key: secret
X-Account-Bytes-Used: 1048582
X-Account-Container-Count: 5
Content-Type: text/plain; charset=utf-8
Accept-Ranges: bytes
x-account-project-domain-id: default
X-Trans-Id: tx2b1f0e0b748a47678f53b-0054c8b037
Date: Wed, 28 Jan 2015 09:47:35 GMT

container1
container2

same issue is observed in GET request for object also.

Actions #1

Updated by Radoslaw Zarzynski about 9 years ago

  • Status changed from New to In Progress

I'm working on that.

Actions #2

Updated by Radoslaw Zarzynski about 9 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Casey Bodley about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF