One of my Stratum 1s seems to be unable to perform a snapshot since mid-September because it fails to fetch .cvmfs_master_replica
:
[singularity@cvmfs1-iu0 ~]$ CVMFS_SERVER_DEBUG=3 cvmfs_server snapshot singularity.galaxyproject.org
WARNING: cannot read /etc/cvmfs/server.local
Directory '/var/lib/cvmfs-server/geo' doesn't exist or is not writable by singularity
CernVM-FS: replicating from http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org
CernVM-FS: using public key(s) /etc/cvmfs/keys/galaxyproject.org/singularity.galaxyproject.org.pub
(download) download I/O thread started [10-28-2022 21:19:20 UTC]
(download) escaped http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica to http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica [10-28-2022 21:19:20 UTC]
(download) Verify downloaded url http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica, proxy DIRECT (curl error 28) [10-28-2022 21:19:30 UTC]
(download) Trying again on same curl handle, same url: 1, error code 15 [10-28-2022 21:19:30 UTC]
(download) backing off for 354 ms [10-28-2022 21:19:30 UTC]
(download) Verify downloaded url http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica, proxy DIRECT (curl error 28) [10-28-2022 21:19:40 UTC]
(download) Trying again on same curl handle, same url: 1, error code 15 [10-28-2022 21:19:40 UTC]
(download) backing off for 708 ms [10-28-2022 21:19:40 UTC]
(download) Verify downloaded url http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica, proxy DIRECT (curl error 28) [10-28-2022 21:19:51 UTC]
(download) Trying again on same curl handle, same url: 1, error code 15 [10-28-2022 21:19:51 UTC]
(download) backing off for 1416 ms [10-28-2022 21:19:51 UTC]
(download) Verify downloaded url http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica, proxy DIRECT (curl error 28) [10-28-2022 21:20:03 UTC]
(download) download failed (error 15 - host serving data too slowly) [10-28-2022 21:20:03 UTC]
Failed to contact stratum 0 server (15 - host serving data too slowly)
(download) download I/O thread terminated [10-28-2022 21:20:03 UTC]
There are no requests for that file in the Apache log on the stratum 0, although there are two others:
149.165.159.221 - - [28/Oct/2022:23:19:20 +0200] "GET /cvmfs/singularity.galaxyproject.org/.cvmfspublished HTTP/1.1" 200 618 "-" "cvmfs Fuse 2.9.4"
149.165.159.221 - - [28/Oct/2022:23:19:20 +0200] "HEAD /cvmfs/singularity.galaxyproject.org/data/e2/ab48b0984729d99951cb62c4312f501b3ddc6bX HTTP/1.1" 200 - "-" "cvmfs Fuse 2.9.4"
The file fetches fine with curl, however:
[singularity@cvmfs1-iu0 ~]$ curl -v http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica
* Trying 132.230.223.20...
* TCP_NODELAY set
* Connected to cvmfs-stratum0.galaxyproject.eu (132.230.223.20) port 80 (#0)
> GET /cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica HTTP/1.1
> Host: cvmfs-stratum0.galaxyproject.eu
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Fri, 28 Oct 2022 21:20:11 GMT
< Server: Apache/2.4.37 (rocky)
< Accept-Ranges: bytes
< Content-Length: 0
< Cache-Control: max-age=61
< Expires: Fri, 28 Oct 2022 21:21:12 GMT
< Content-Type: application/x-cvmfs
<
* Connection #0 to host cvmfs-stratum0.galaxyproject.eu left intact
Which is logged on the stratum 0 side:
149.165.159.221 - - [28/Oct/2022:23:20:11 +0200] "GET /cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica HTTP/1.1" 200 - "-" "curl/7.61.1"
And other stratum 1s have no problem:
[singularity@cvmfs1-psu0 ~]$ CVMFS_SERVER_DEBUG=3 cvmfs_server snapshot singularity.galaxyproject.org
WARNING: cannot read /etc/cvmfs/server.local
Directory '/var/lib/cvmfs-server/geo' doesn't exist or is not writable by singularity
CernVM-FS: replicating from http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org
CernVM-FS: using public key(s) /etc/cvmfs/keys/singularity.galaxyproject.org.pub
(download) download I/O thread started [10-28-2022 21:14:22 UTC]
(download) escaped http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica to http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica [10-28-2022 21:14:22 UTC]
(download) Verify downloaded url http://cvmfs-stratum0.galaxyproject.eu/cvmfs/singularity.galaxyproject.org/.cvmfs_master_replica, proxy DIRECT (curl error 0) [10-28-2022 21:14:23 UTC]
The stratum 1 in question is running a fully updated Rocky 8, CVMFS package version is cvmfs-server-2.9.4-1.el8.x86_64
.