[ 
https://issues.apache.org/jira/browse/HDDS-17904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18153608#comment-18153608
 ] 

Huang Kuan Hao commented on HDDS-17904:
---------------------------------------

Proposal: CreateBucket with Bucket {{Type=Directory}} creates an FSO bucket, 
matching ListDirectoryBuckets (HDDS-15450). No {{--x-s3}} name requirement, 
since S3 Gateway has no CreateSession. I'll open a PR unless there are 
objections.

> Discuss whether S3 CreateBucket with Type=Directory should create an FSO 
> bucket
> -------------------------------------------------------------------------------
>
>                 Key: HDDS-17904
>                 URL: https://issues.apache.org/jira/browse/HDDS-17904
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: S3
>            Reporter: Chung-En Lee
>            Assignee: Huang Kuan Hao
>            Priority: Major
>
> AWS S3 CreateBucket creates a directory bucket when the request body sets 
> {{Type=Directory}} in {{CreateBucketConfiguration}}. S3 Gateway does not read 
> this body, so the request creates a bucket with the default layout from 
> {{ozone.s3g.default.bucket.layout}}, which is OBS by default. The client asks 
> for a directory bucket but gets an OBS bucket.
> ListDirectoryBuckets (HDDS-15450) already lists FSO buckets as directory 
> buckets. This ticket is to discuss whether CreateBucket with 
> {{Type=Directory}} should create an FSO bucket, or whether S3 Gateway should 
> handle it in another way.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to