Backport #18098
Updated by Loïc Dachary over 7 years ago
https://github.com/ceph/ceph/pull/12258 RadosGW doesn't support the _prefix_ parameter on account listing through the Swift API. Output from ngrep: <pre> 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 </pre> This causes following Tempest's testcase to fail: <pre> tempest.api.object_storage.test_account_services.AccountTest.test_list_containers_with_prefix </pre>