Error Set Tenant on FlexibleEngine : BucketAlreadyExists
Closed this issue · 2 comments
Jean-PhilippeGouin commented
Hi,
There is a issue while setting the tenant on the FlexibleEngine of Orange Cloud.
/broker tenant set safescale_orange.x156sq
2018/10/04 09:29:05 Tenant Set called
failed to create Object Container 0.safescale: BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users oftry again.
status code: 409
Edit :
Workaround :
Setting the environement variable SAFESCALE_METADATA_SUFFIX works and add the suffix to the bucket name.
vplanche-pro commented
S3 Object Stores (at minimum) uses a global namespace for all buckets. Due to this, we can't use '0.safescale' as metadata bucket name for all SafeScale tenants using the same Cloud Provider.
The metadata name has to be contextualized with tenant specific information (domain name for OpenStack for example)
vplanche-pro commented
Fixed with commit 4653f82