[
https://issues.apache.org/jira/browse/HDDS-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ethan Rose resolved HDDS-6702.
------------------------------
Resolution: Duplicate
> [Layout] S3 Buckets should be created with OBS type
> ---------------------------------------------------
>
> Key: HDDS-6702
> URL: https://issues.apache.org/jira/browse/HDDS-6702
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Manager
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Assignee: Ritesh Shukla
> Priority: Major
>
> With recent Allowed Bucket Layouts: FILE_SYSTEM_OPTIMIZED, OBJECT_STORE.
> On creating a new bucket the default type is selected.
> But while creating a new bucket via s3api it should be OBJECT_STORE always
> not depending on the default.
> {code:java}
> [systest@vc0101 ~]$ aws s3 mb s3://test --endpoint
> https://vc0114.halxg.cloudera.com:9879/ --no-verify-ssl
> /usr/lib/fence-agents/bundled/botocore/vendored/requests/packages/urllib3/connectionpool.py:768:
> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
> certificate verification is strongly advised. See:
> https://urllib3.readthedocs.org/en/latest/security.html
> InsecureRequestWarning)
> make_bucket: test
> [systest@vc0101 ~]$ ozone sh bucket list s3v
> [ {
> "metadata" : { },
> "volumeName" : "s3v",
> "name" : "test",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-05-05T09:27:03.778Z",
> "modificationTime" : "2022-05-05T09:27:03.778Z",
> "quotaInBytes" : -1,
> "quotaInNamespace" : -1,
> "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
> "owner" : "s3g",
> "link" : false
> } ] {code}
> The Bucket Layout created via s3 API should be OBS not depending on the
> default layout type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]