Project

General

Profile

Bug #21679

Updated by Abhishek Lekshmanan over 6 years ago

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 

 <pre> 
 $keystone 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 

 </pre>

Back