[Openstack] Swift3 bucket naming conventions

Shyam Prasad N nspmangalore at gmail.com
Wed Jul 18 06:46:34 UTC 2018


Great. That provides me another option.
Thanks, Mark. :)

On Wed, Jul 18, 2018 at 8:03 AM, Mark Kirkwood <
mark.kirkwood at catalyst.net.nz> wrote:

> Hi,
>
> I've been caught by this myself - by default s3api has the parameter:
>
> dns_compliant_bucket_names = True
>
> which will forbid _ in the bucket name. Just set this to False under your
> [s3api] section (or the [swift3] section if it is called that in your proxy
> pipeline).
>
> regards
> Mark
>
> On 23/06/18 04:22, Clay Gerrard wrote:
>
>> Swift containers can certainly have underscores in them... almost any
>> character is valid.
>>
>> But I guess s3api thinks that's maybe not a valid bucket name?
>>
>> https://github.com/openstack/swift/blob/master/test/unit/com
>> mon/middleware/s3api/test_utils.py#L38
>>
>> -Clay
>>
>>
>> On Thu, Jun 21, 2018 at 3:27 AM, Shyam Prasad N <nspmangalore at gmail.com
>> <mailto:nspmangalore at gmail.com>> wrote:
>>
>>     Hi,
>>
>>     On my openstack swift s3 interface, I tried to create bucket names
>>     similar to what I have in my AWS S3. But swift3 doesn't seem to
>>     allow bucket names containing underscore. Once I remove the
>>     underscore and try to create the bucket, it works. Is there a way
>>     to overcome this?
>>
>>     --     -Shyam
>>
>>     _______________________________________________
>>     Mailing list:
>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>     <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>     Post to     : openstack at lists.openstack.org
>>     <mailto:openstack at lists.openstack.org>
>>     Unsubscribe :
>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>     <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi
>> -bin/mailman/listinfo/openstack
>>
>
>


-- 
-Shyam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180718/64bf164c/attachment.html>


More information about the Openstack mailing list