Mounting the CODE-RADE CVMFS repository

code-rade
cvmfs
applications
debugging

(Bruce Becker) #1

Continuing the discussion from CODE-RADE in CVMFS global repositories:

I wanted to use this topic to discuss issues related to the mounting of the CODE-RADE repository. As discussed in the previous post, we have included it in the EGI Stratum1, so technically one could use the configuration repository to access it - however, this doesn't seem to be working.

Alternatively, one could apply the configuration to connect directly to the CVMFS repo at UFS (apprepo.sagrid.ac.za) and use the Stratum0 there. This used to be working for me until a few days ago, but wasn't working for other (ie @SeanMurray_59b6)

I want to get to the bottom of this, and have another look at the code we use in DevOps to configure containers, VMs and worker nodes to mount our repo at code-rade.africa-grid.org

@SeanMurray_59b6 could you maybe start off giving a summary of what the situation is on any of your worker nodes ?

I see the @ScottHazelhurst has also mounted an old repo (fastrepo.sagrid.ac.za - now decommissioned) on his SE. @ScottHazelhurst could you perhaps let us know your configuration ?

Thanks


(Bruce Becker) #2

It's clear now that there is some form of configuration problem with the client. Let's take another look at the server :


On apprepo.sagrid.ac.za we have

cvmfs_server list
code-rade.africa-grid.org (stratum0 / local)  (created by CernVM-FS 2.3.3-1)

and

cvmfs_server info code-rade.africa-grid.org
Repository name: code-rade.africa-grid.org
Created by CernVM-FS 2.3.3-1
Stratum1 Replication Allowed: yes
Whitelist is valid for another 28 days
Client configuration:
Add code-rade.africa-grid.org to CVMFS_REPOSITORIES in /etc/cvmfs/default.local
Create /etc/cvmfs/config.d/code-rade.africa-grid.org.conf and set
  CVMFS_SERVER_URL=http://localhost/cvmfs/code-rade.africa-grid.org
  CVMFS_PUBLIC_KEY=/etc/cvmfs/keys/code-rade.africa-grid.org.pub
Copy /etc/cvmfs/keys/code-rade.africa-grid.org.pub to the client

It looks like the keys and CVMFS_REPOSITORIES were incorrectly set.


(Bruce Becker) #3

I've checked that this works on the CentOS (against the local openstack) and Debian (Travis) enviroments. Just need to check the docker cotainers