Actions
Bug #21679
openrgw: swift api allows "/" in bucket names
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
currently a misconfigured keystone url (with an ending "/") will lead to buckets created being prepended with a "/" which later becomes unusable as bucket instances do not have these while bucket names do, and subsequent ops on the buckets would fail
$keystone endpoint list +----------------------------------+-----------+---------------------------------+---------------------------+---------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+-----------+---------------------------------+---------------------------+---------------------------------+----------------------------------+ | 6f9217e5c2fb44a8b904098d242bf247 | regionOne | http://localhost:8000/swift/v1/ | http://localhost:8000/v1/ | http://localhost:8000/swift/v1/ | 1f4bc3d123794c848bf83c345ae7c7a1 | $ swift post foobar $ swift list /foobar $ s3 list /foobar $ swift upload foobar somefile 404
Actions