[DESY Home] [DESY IT Home] [DESY IT Physics Computing] [Grid Computing at DESY] [DESY Computing Seminar] [Imprint]

Grid Computing at DESY DESY

[Home] [Mon/Admin] [Grid@DESY] [Certs & VOs] [VOMS] [CVMFS] [User Guide] [Install Guide] [Notes] [Talks & Posters] [Glossary] [Documentation] [Links]

In order to ensure response in case of problems, use the Global Grid User Support (GGUS) and/or your VO support rather than private e-mail contacts or internal mailing lists.


CVMFS:

Repository resigning fails

Created by Thomas Hartmann on May 13, 2016 12:10

Symptoms:

Resigning a cvmfs repositories fails with the internal helper wrapper __swissknife aborting. E.g., when running the cvmfs server script in debug

> bash -x /usr/bin/cvmfs_server resign your.repo.cvmfs
++ echo Ncalice.desy.de
++ __swissknife hash -a -f
++ openssl x509 -in /etc/cvmfs/keys/calice.desy.de.crt -outform der
+++ __swissknife_cmd
+++ local might_be_debugging=
+++ '[' '!' -z ']'
+++ echo cvmfs_swissknife
++ cvmfs_swissknife hash -a -f
/usr/bin/cvmfs_server: line 157: 16192 Aborted

Solution:

Check if for the affected repository a hash algorithm is setin the configuration

CVMFS_HASH_ALGORITHM=sha1

With release v2.2 support for additional hashing algorithms was added making the variable a requirement.
Supported algorithms (naming: small letters without hyphen) are presumably 'sha1', 'ripemd160' and 'shake128' YMMV

by the DESY Grid Team: http://grid.desy.de/