Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-1641

Support arbitrary subpaths inside S3 bucket

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: High
    • Resolution: Completed
    • Affects Version/s: CernVM-FS 2.5.1
    • Fix Version/s: CernVM-FS 2.5.2
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      x86_64-slc6-gcc48-opt
    • Development:

      Description

      For S3, bucket names can be provided in two ways. Either in trailing form:

      http://<S3_HOST_NAME>/<BUCKET_NAME>

      or using DNS-style buckets (recommended):

      http://<BUCKET_NAME>.<S3_HOST_NAME>

      An URL with a subpath can be provided at repository creation, for example:

      cvmfs_server mkfs ..... -w http://bucketname.s3.cern.ch/cvmfs

      The URL is correctly saved to  the client and server configuration files, but the S3 uploader class computes an incorrect url, without the trailing "/cvmfs", as it only uses the S3 credential configuration file.

      This should be fixed, allowing the use of familiar URLs for CVMFS repositories:

      http://bucketname.s3.cern.ch/cvmfs/repo.cern.ch

        Attachments

          Activity

            People

            • Assignee:
              rpopescu Radu Popescu
              Reporter:
              rpopescu Radu Popescu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: