Project

General

Profile

Actions

Feature #17931

closed

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

Added by Radoslaw Zarzynski over 7 years ago. Updated about 7 years ago.

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

0%

Source:
Development
Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:

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 1 (0 open1 closed)

Copied to rgw - Backport #18098: jewel: rgw: Swift's "prefix" parameter is not supported on account listingResolvedRadoslaw ZarzynskiActions
Actions #1

Updated by Radoslaw Zarzynski over 7 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Radoslaw Zarzynski over 7 years ago

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

Updated by Radoslaw Zarzynski over 7 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Radoslaw Zarzynski over 7 years ago

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

Updated by Nathan Cutler about 7 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF