Actions
Bug #40111
closedRGW-Swift does not support capabilities API call
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Per swift API, the URL /info should return capabilities of the swift API but RGW does not seem to support it on this URL:
- curl http://xxxx:8080/info
<Error><Code>NoSuchBucket</Code><BucketName>info</BucketName><RequestId>tx00000000000000000a2e0-005cf529ea-1e4ad3-default</RequestId><HostId>1e4ad3-default-default</HostId></Error>
once I add the swift prefix if does report basic statistics
- curl http://xxxx:8080/swift/info {"bulk_delete":{},"container_quotas":{},"swift":{"max_file_size":5368709120,"container_listing_limit":10000,"version":"13.2.5","policies":[{"default":true,"name":"default-placement"}],"max_object_name_size":1024,"strict_cors_mode":true,"max_container_name_length":255},"tempurl":{"methods":["GET","HEAD","PUT","POST","DELETE"]},"slo":{"max_manifest_segments":1000},"account_quotas":{},"staticweb":{},"
Is it possible to support this API call ?
Actions