Backport #18098
closed
- Copied from Feature #17931: rgw: Swift's "prefix" parameter is not supported on account listing added
- Status changed from Pending Backport to In Progress
- Description updated (diff)
original 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
- Status changed from In Progress to Resolved
- Target version set to v10.2.6
Also available in: Atom
PDF