Menu

s3cmd info command fails

2019-03-08
2019-03-11
  • Vimal Kaneria

    Vimal Kaneria - 2019-03-08

    I am running the s3cmd info command against Hitachi's HCP which supports S3 functionality. However, it is failing to return the proper metadata information.

    On the HCP side we see the s3cmd running the followinq queries

    GET /testNS1/?location HTTP/1.1" 200 124 TestTenant@hs3 35 220 0
    GET /testNS1/?requestPayment HTTP/1.1"501 281 TestTenant@hs3 6 220 0
    GET /testNS1/?lifecycle HTTP/1.1"404 257 TestTenant@hs3 7 220 0
    GET /testNS1/?policy HTTP/1.1"501 281 TestTenant@hs3 6 220 0
    GET /testNS1/?cors HTTP/1.1"403 658 TestTenant@hs3 7 220 0

    some of this functionality is not implemented as of yet like "?requestPayment", "?lifecycle" and "?policy". the "?cors" functionality will soon be supported. My question is if the CORS functionality is implemented will that be sufficient for this command to return successful results?

    the objective is to retrive metadata from the object store on a specific object. is there perhaps a different s3cmd command or different command options that would return successfull results?

     
    • Florent Viard

      Florent Viard - 2019-03-11

      Hi Vimal,

      I guess that you are running an old version of s3cmd as we have added fixes
      to not fail the info command in the case that such things are not supported.
      You can try the most up to date version from github:
      https://github.com/s3tools/s3cmd

      If that doesn't solve your issue, please open an issue there, with a
      backtrace that you would generate calling s3cmd with the "-d" flag.

      Regards,

      Florent

      On Fri, Mar 8, 2019 at 10:56 PM Vimal Kaneria vkaneria@users.sourceforge.net wrote:

      I am running the s3cmd info command against Hitachi's HCP which supports
      S3 functionality. However, it is failing to return the proper metadata
      information.

      On the HCP side we see the s3cmd running the followinq queries

      GET /testNS1/?location HTTP/1.1" 200 124 TestTenant@hs3 35 220 0
      GET /testNS1/?requestPayment HTTP/1.1"501 281 TestTenant@hs3 6 220 0
      GET /testNS1/?lifecycle HTTP/1.1"404 257 TestTenant@hs3 7 220 0
      GET /testNS1/?policy HTTP/1.1"501 281 TestTenant@hs3 6 220 0
      GET /testNS1/?cors HTTP/1.1"403 658 TestTenant@hs3 7 220 0

      some of this functionality is not implemented as of yet like
      "?requestPayment", "?lifecycle" and "?policy". the "?cors" functionality
      will soon be supported. My question is if the CORS functionality is
      implemented will that be sufficient for this command to return successful
      results?

      the objective is to retrive metadata from the object store on a specific
      object. is there perhaps a different s3cmd command or different command
      options that would return successfull results?


      s3cmd info command fails
      https://sourceforge.net/p/s3tools/discussion/618865/thread/22ac3f31e6/?limit=25#ff34


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/s3tools/discussion/618865/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.