Project

General

Profile

Feature #17931

rgw: Swift's "prefix" parameter is not supported on account listing

Added by Radoslaw Zarzynski about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
11/17/2016
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Reviewed:
User Impact:
Affected Versions:
Release:
Needs Doc:
No

Description

RadosGW doesn't support the prefix parameter on account listing through the Swift API. Output from ngrep:

T 127.0.0.1:60336 -> 127.0.0.1:8000 [AP]
GET /v1/KEY_2937020f26604932a02ffe2f40a4b70d/?prefix=tempest-a HTTP/1.1.
Host: 127.0.0.1:8000.
Accept-Encoding: identity.
connection: close.
X-Auth-Token: 35550cc2930441e5a928a9b230bfdea7.
.

##
T 127.0.0.1:8000 -> 127.0.0.1:60336 [AP]
HTTP/1.1 200 OK.
Content-Length: 128.
X-Timestamp: 1479387203.50892.
X-Account-Container-Count: 6.
X-Account-Object-Count: 0.
X-Account-Bytes-Used: 0.
X-Account-Bytes-Used-Actual: 0.
X-Account-Access-Control: {}.
X-Trans-Id: tx00000000000000000042c-00582da843-101f-default.
Accept-Ranges: bytes.
Content-Type: text/plain; charset=utf-8.
Date: Thu, 17 Nov 2016 12:53:23 GMT.
Connection: close.
.

##
T 127.0.0.1:8000 -> 127.0.0.1:60336 [AP]
tempest-a--520471052
tempest-b--873817367
tempest-c--1780729522
tempest-d--1068211639
tempest-e--450004123
tempest-f--1688815864

This causes following Tempest's testcase to fail:

tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_prefix


Related issues

Copied to rgw - Backport #18098: jewel: rgw: Swift's "prefix" parameter is not supported on account listing Resolved

History

#1 Updated by Radoslaw Zarzynski about 1 year ago

  • Status changed from New to In Progress

#2 Updated by Radoslaw Zarzynski about 1 year ago

  • Status changed from In Progress to Need Review
  • Backport set to jewel

#3 Updated by Radoslaw Zarzynski about 1 year ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Radoslaw Zarzynski about 1 year ago

  • Copied to Backport #18098: jewel: rgw: Swift's "prefix" parameter is not supported on account listing added

#5 Updated by Nathan Cutler 11 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF