Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19552

cbcollect_info mangles upload URLs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • ns_server
    • OS X Yosemite
      Ubuntu 16.04
      Centos 6
    • Untriaged
    • No

    Description

      When specifying the --upload-host and --customer options of cbcollect_info, the resultant URL is not as expected, for example:

      $ sudo ./cbcollect_info ~/collect/custom_log.zip --upload-host=s3.amazonaws.com/customers.couchbase.com/ --customer=JFlath
      

      The expected URL would be s3.amazonaws.com/customers.couchbase.com/JFlath/custom_log.zip, instead we see the following:

      $ sudo ./cbcollect_info ~/collect/custom_log.zip --upload-host=s3.amazonaws.com/customers.couchbase.com/ --customer=JFlath
      Will upload collected .zip file into https://s3.amazonaws.com/customers.couchbase.com//JFlath//Users/jamesflather/collect/custom_log.zip
      

      And the URL mentioned above is indeed where it is uploaded to.

      Attachments

        For Gerrit Dashboard: MB-19552
        # Subject Branch Project Status CR V

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            James Flather James Flather (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty