Project

General

Profile

Bug #18977

rgw: end_marker parameter doesn't work on Swift container's listing

Added by Radoslaw Zarzynski 10 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Target version:
-
Start date:
02/17/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
jewel luminous
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

RadosGW and Swift are loaded with the same data.

RadosGW:

$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 204 No Content
X-Timestamp: 1487353752.59417
X-Container-Object-Count: 1
X-Container-Bytes-Used: 2
X-Container-Bytes-Used-Actual: 4096
X-Storage-Policy: default-placement
X-Trans-Id: tx000000000000000000002-0058a73b09-1016-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Fri, 17 Feb 2017 18:03:53 GMT

Swift:

$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Content-Length: 21
X-Container-Object-Count: 1
Accept-Ranges: bytes
X-Timestamp: 1487354048.60160
X-Container-Bytes-Used: 2
Content-Type: text/plain; charset=utf-8
X-Trans-Id: txebcd8729697b48479e8e9-0058a738e2
Date: Fri, 17 Feb 2017 17:54:42 GMT

TestObject-238677986

Introduced in a5d1fa0587184f43c69d8e03114b58d43f320781.

RadosGW with the commit reverted:

$ curl -i "${publicURL}/TestContainer-32150453/?&end_marker=ZzzzObject1234567890" -X GET -H "X-Auth-Token: ${token}"
HTTP/1.1 200 OK
Content-Length: 20
X-Timestamp: 1487353752.59417
X-Container-Object-Count: 1
X-Container-Bytes-Used: 2
X-Container-Bytes-Used-Actual: 4096
X-Storage-Policy: default-placement
X-Trans-Id: tx000000000000000000002-0058a73fa3-100e-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Fri, 17 Feb 2017 18:23:31 GMT

TestObject-238677986


Related issues

Copied to rgw - Backport #21453: luminous: rgw: end_marker parameter doesn't work on Swift container's listing Resolved
Copied to rgw - Backport #21454: jewel: rgw: end_marker parameter doesn't work on Swift container's listing Need More Info

History

#1 Updated by Ken Dreyer 10 months ago

  • Backport set to jewel

#2 Updated by Yehuda Sadeh 10 months ago

  • Assignee set to Radoslaw Zarzynski

#3 Updated by Radoslaw Zarzynski 7 months ago

  • Status changed from New to Need Review

#4 Updated by Matt Benjamin 3 months ago

  • Status changed from Need Review to Pending Backport
  • Backport changed from jewel to jewel luminous

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #21453: luminous: rgw: end_marker parameter doesn't work on Swift container's listing added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #21454: jewel: rgw: end_marker parameter doesn't work on Swift container's listing added

Also available in: Atom PDF