Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compute canada to OSG config #269

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions etc/cvmfs/config.d/restricted.computecanada.ca.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# The restricted.computecanada.ca repo can not be externally accessed, but is referenced by the public soft.computecanada.ca repo.
# Use an invalid URL to prevent clients from futilely attempting to access it in the first place, to fail faster and reduce noise (HTTP 403) in the server logs.
CVMFS_SERVER_URL="http://NULL"
15 changes: 15 additions & 0 deletions etc/cvmfs/domain.d/computecanada.ca.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# These are here so cvmfs will notice them if common.conf sets them
CVMFS_HTTP_PROXY="$CVMFS_HTTP_PROXY"
CVMFS_FALLBACK_PROXY="$CVMFS_FALLBACK_PROXY"
. ../common.conf

if [ "$CVMFS_USE_CDN" = "yes" ] || [ "$CVMFS_HTTP_PROXY" = "DIRECT" ] || [ "$CVMFS_HTTP_PROXY" = "auto;DIRECT" ]; then
CVMFS_SERVER_URL="http://cvmfs-s1.computecanada.net/cvmfs/@fqrn@"
CVMFS_USE_GEOAPI=no
else
CVMFS_SERVER_URL="http://cvmfs-s1-arbutus.computecanada.ca:8000/cvmfs/@fqrn@;http://cvmfs-s1-beluga.computecanada.ca:8000/cvmfs/@fqrn@;http://cvmfs-s1-graham.computecanada.ca:8000/cvmfs/@fqrn@;http://cvmfs-s1.computecanada.net/cvmfs/@fqrn@"
DrDaveD marked this conversation as resolved.
Show resolved Hide resolved
fi

CVMFS_KEYS_DIR=$CVMFS_MOUNT_DIR/$CVMFS_CONFIG_REPOSITORY/etc/cvmfs/keys/computecanada.ca
CVMFS_USE_GEOAPI=yes
CVMFS_SEND_INFO_HEADER=yes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA00GahOvNHBpOxUz+VixZ
QDoLGtCGE22nadt9J5EK9BeG0wKDEQzMlZQJCr+VFw/mdaiH72RAUnnM/OddMmMw
ydKPifXt8BMrmQi/cyiAcvAAI3U9NesryXJFuGCxURFB1cSA+kToOyqMZTOrLL5V
o/4xUqowksNE80X/A0z2+6RRVN478iaRqKdahhDYIN20sUUceKdLHrUCwWglomB/
FptMP8y6bxCVDIPlxd8CQqpmy2Cwr8/ywof1C2vvQzEkTy0vfNGxjDFE7LDMwIB5
GSIWpH3YjToXejSw1uZU4bYcushcpl01FZziBzaoYyns4HEO5scRtoPa4gNITsgB
WQIDAQAB
-----END PUBLIC KEY-----