Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6702

[Layout] S3 Buckets should be created with OBS type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.3.0
    • None
    • Ozone Manager
    • None

    Description

      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.

      [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
      } ] 

      The Bucket Layout created via s3 API should be OBS not depending on the default layout type.

      Attachments

        Issue Links

          Activity

            People

              ritesh Ritesh Shukla
              ssulav Soumitra Sulav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: