Hi,
after modifying the configuration for the repositories at our Stratum-0 to enable GC, and re-publishing them, all the repos with the same domain name have failed.
- This is how the config looks [1]
- This is what I get in the console [2]
- And this is what I get in the logs [3]
The fact that only affects a single domain name, and all the repos in that domain, is quite interesting. Does that suggest that there is something wrong with the public key?
Any comment/question/suggestion/idea is more than welcome.
Cheers,
Jose
[1]
[root@stratum-0 ~]# cat /etc/cvmfs/repositories.d/myrepo.domain.name/server.conf
# Created by cvmfs_server.
CVMFS_CREATOR_VERSION=143
CVMFS_REPOSITORY_NAME=myrepo.domain.name
CVMFS_REPOSITORY_TYPE=stratum0
CVMFS_USER=cvmfs
CVMFS_UNION_DIR=/cvmfs/myrepo.domain.name
CVMFS_SPOOL_DIR=/var/spool/cvmfs/myrepo.domain.name
CVMFS_STRATUM0=http://localhost/cvmfs/myrepo.domain.name
CVMFS_UPSTREAM_STORAGE=local,/srv/cvmfs/myrepo.domain.name/data/txn,/srv/cvmfs/myrepo.domain.name
CVMFS_USE_FILE_CHUNKING=true
CVMFS_MIN_CHUNK_SIZE=4194304
CVMFS_AVG_CHUNK_SIZE=8388608
CVMFS_MAX_CHUNK_SIZE=16777216
CVMFS_UNION_FS_TYPE=overlayfs
CVMFS_HASH_ALGORITHM=sha1
CVMFS_COMPRESSION_ALGORITHM=default
CVMFS_EXTERNAL_DATA=false
CVMFS_AUTO_TAG=false
CVMFS_AUTO_TAG_TIMESPAN=""
CVMFS_GARBAGE_COLLECTION=true
CVMFS_AUTO_REPAIR_MOUNTPOINT=true
CVMFS_AUTOCATALOGS=true
CVMFS_ASYNC_SCRATCH_CLEANUP=true
CVMFS_PRINT_STATISTICS=false
CVMFS_IGNORE_XDIR_HARDLINKS=true
CVMFS_AUTO_GC=true
[2]
[root@stratum-0 ~]# cvmfs_server transaction myrepo.domain.name
[root@stratum-0 ~]# cvmfs_server publish myrepo.domain.name
Processing changes...
Waiting for upload of files before committing...
Committing file catalogs...
Wait for all uploads to finish
Exporting repository manifest
Statistics stored at: /var/spool/cvmfs/myrepo.domain.name/stats.db
Tagging myrepo.domain.name
Flushing file system buffers
Signing new manifest
Running automatic garbage collection
Garbage collection failed (9)
[3]
Jun 19 12:47:31 stratum-0 cvmfs_publish: (myrepo.domain.name) opened transaction
Jun 19 12:47:31 stratum-0 cvmfs_publish: Trying to remount /cvmfs/myrepo.domain.name read/write... success
Jun 19 12:47:41 stratum-0 cvmfs_server: (myrepo.domain.name) started publishing
Jun 19 12:47:41 stratum-0 cvmfs_swissknife: Parameter CVMFS_STATISTICS_DB was not set in the repository configuration file. Using default value: /var/spool/cvmfs/myrepo.domain.name/stats.db
Jun 19 12:47:41 stratum-0 cvmfs_swissknife: Parameter CVMFS_STATS_DB_DAYS_TO_KEEP was not set in the repository configuration file. Using default value: 365
Jun 19 12:47:42 stratum-0 cvmfs_server: (myrepo.domain.name) failed to publish
Jun 19 12:47:53 stratum-0 cvmfs_publish: (myrepo.domain.name) aborting transaction
Jun 19 12:47:53 stratum-0 cvmfs_publish: (myrepo.domain.name) attempting mountpoint repair (2)
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to unmount /cvmfs/myrepo.domain.name... success
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to unmount /var/spool/cvmfs/myrepo.domain.name/rdonly... success
Jun 19 12:47:53 stratum-0 cvmfs2: (myrepo.domain.name) CernVM-FS: unmounted /var/spool/cvmfs/myrepo.domain.name/rdonly (myrepo.domain.name)
Jun 19 12:47:53 stratum-0 systemd: Mounting /var/spool/cvmfs/myrepo.domain.name/rdonly...
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: running with suid support
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: loading Fuse module... done
Jun 19 12:47:53 stratum-0 systemd: Mounted /var/spool/cvmfs/myrepo.domain.name/rdonly.
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to mount /var/spool/cvmfs/myrepo.domain.name/rdonly... success
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: mounted cvmfs on /var/spool/cvmfs/myrepo.domain.name/rdonly
Jun 19 12:47:53 stratum-0 cvmfs2: (myrepo.domain.name) CernVM-FS: linking /var/spool/cvmfs/myrepo.domain.name/rdonly to repository myrepo.domain.name
Jun 19 12:47:53 stratum-0 systemd: Mounting /cvmfs/myrepo.domain.name...
Jun 19 12:47:53 stratum-0 systemd: Mounted /cvmfs/myrepo.domain.name.
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to mount /cvmfs/myrepo.domain.name... success
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to remount /cvmfs/myrepo.domain.name read/write... success
Jun 19 12:47:53 stratum-0 cvmfs_publish: finished mountpoint repair (0)
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to unmount /cvmfs/myrepo.domain.name... success
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to unmount /var/spool/cvmfs/myrepo.domain.name/rdonly... success
Jun 19 12:47:53 stratum-0 cvmfs2: (myrepo.domain.name) CernVM-FS: unmounted /var/spool/cvmfs/myrepo.domain.name/rdonly (myrepo.domain.name)
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to wipe out /var/spool/cvmfs/myrepo.domain.name/scratch/current (async cleanup)... success
Jun 19 12:47:53 stratum-0 systemd: Mounting /var/spool/cvmfs/myrepo.domain.name/rdonly...
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: running with suid support
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: loading Fuse module... done
Jun 19 12:47:53 stratum-0 systemd: Mounted /var/spool/cvmfs/myrepo.domain.name/rdonly.
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to mount /var/spool/cvmfs/myrepo.domain.name/rdonly... success
Jun 19 12:47:53 stratum-0 mount: CernVM-FS: mounted cvmfs on /var/spool/cvmfs/myrepo.domain.name/rdonly
Jun 19 12:47:53 stratum-0 cvmfs2: (myrepo.domain.name) CernVM-FS: linking /var/spool/cvmfs/myrepo.domain.name/rdonly to repository myrepo.domain.name
Jun 19 12:47:53 stratum-0 systemd: Mounting /cvmfs/myrepo.domain.name...
Jun 19 12:47:53 stratum-0 systemd: Mounted /cvmfs/myrepo.domain.name.
Jun 19 12:47:53 stratum-0 cvmfs_publish: Trying to mount /cvmfs/myrepo.domain.name... success
Jun 19 12:48:01 stratum-0 systemd: Started Session 48001 of user root.