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

cvmfs_server snapshot storing to Amazon S3 does not clean up tmp files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Clarified
    • Affects Version/s: CernVM-FS 2.1.20
    • Fix Version/s: CernVM-FS 2.2.0
    • Component/s: CVMFS
    • Labels:
      None
    • Platforms:
      x86_64-slc6-gcc48-opt

      Description

      cvmfs-server-2.1.20's cvmfs_server snapshot when uploading to Amazon S3 does not clean up cvmfs.* files in /var/spool/cvmfs/<repo>/tmp. Reproduce with:
      1. create /etc/cvmfs/s3.conf with contents like this:

          CVMFS_S3_ACCOUNTS=1
          CVMFS_S3_ACCESS_KEY=youraccesskey
          CVMFS_S3_SECRET_KEY=yoursecretkey
          CVMFS_S3_BUCKETS_PER_ACCOUNT=1
          CVMFS_S3_BUCKET=cvmfs-stratum1
          CVMFS_S3_HOST=s3-us-west-2.amazonaws.com
          CVMFS_S3_PORT=80
          CVMFS_S3_MAX_NUMBER_OF_PARALLEL_CONNECTIONS=32

      2. create replica like this:

          # source /etc/cvmfs/s3.conf
          # cvmfs_server add-replica -u S3,/tmp,cvmfs/config-egi.egi.eu@/etc/cvmfs/s3.conf -w http://$CVMFS_S3_BUCKET-1-1.$CVMFS_S3_HOST /cvmfs/config-egi.egi.eu -o root http://cvmfs-stratum0.gridpp.rl.ac.uk:8000/cvmfs/config-egi.egi.eu /etc/cvmfs/keys/egi.eu/egi.eu.pub

      3. then every time you run cvmfs_server snapshot, cvmfs.* files are in /var/spool/cvmfs/config-egi.egi.eu/tmp.

        Attachments

          Activity

            People

            • Assignee:
              rmeusel Rene Meusel (Inactive)
              Reporter:
              dwd Dave Dykstra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: