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

Support arbitrary subpaths inside S3 bucket

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Completed
    • CernVM-FS 2.5.1
    • CernVM-FS 2.5.2
    • CVMFS
    • None
    • x86_64-slc6-gcc48-opt

    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

            rpopescu Radu Popescu (Inactive)
            rpopescu Radu Popescu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual Start:
              Actual End: