Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-505 OzoneManager HA
  3. HDDS-3021

Ozone S3 CLI path command not working on HA cluster

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      ozone s3 path <<bucketname>>

      ozone s3 path are not working on OM HA cluster

       

      Because these commands do not take URI as a parameter. And for shell in HA, passing URI is mandatory. 

       

      Below is the output when running on OM HA cluster:

       

      $ozone s3 path
      Service ID or host name must not be omitted when ozone.om.service.ids is defined.
      

       

      HDDS-2279 fixed only getsecret, and this is missed because parameter added om-service-id is applicable only getsecret command.

       

      This Jira suggests to do, move parameter to common class named S3Handler, and make all S3 commands inherit this, so in future any new commands, this parameter will be applicable. 

       

       

      Thank You Li Cheng for reporting this issue.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              bharat Bharat Viswanadham
              Reporter:
              bharat Bharat Viswanadham

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment