CS-SI/SafeScale

Error Set Tenant on FlexibleEngine : BucketAlreadyExists

Closed this issue · 2 comments

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.

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)

Fixed with commit 4653f82