-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Pelican Version:
Run ./pelican --version to get version number.
$ pelican --version
Version: 7.20.2
Build Date: 2025-10-03T20:49:50Z
Build Commit: d83d6a89277765c4075f3be04e0180f43a6604da
Built By: goreleaser
Pelican Service:
- Client
- Plugin
- Registry
- Director
- Origin
- Cache
- Other (please give the detail)
Describe the bug
A clear and concise description of what the bug is.
The variable PELICAN_CLIENT_PREFERREDCACHES to specify a specific cache for e.g. testing as documented is ignored by both the pelican client and the HTCondor plugin.
The older PELICAN_NEAREST_CACHE is respected by the client and the plugin.
To Reproduce
Steps to reproduce the behavior.
From the docs use:
environment = "PELICAN_CLIENT_PREFERREDCACHES=https://address.to.desired.cache:port"
in an HTCondor job or just set it at execution time with e.g.:
$ PELICAN_PREFERRED_CACHES="https://address.to.desired.cache:port" pelican object get osdf:///some/path
Expected behavior
A clear and concise description of what you expected to happen.
The client and plugin for this version (7.20.2) should use the cache specified in PELICAN_PREFERRED_CACHES (as they do for PELICAN_NEAREST_CACHE)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. Linux, MacOS]
- Browser: [e.g. chrome, safari, if the bug relates to any web user interface]
OS is linux Rocky Linux release 8.10 for CLI test and similarly rocky:8 containers for HTCondor tests.
Additional context
Add any other context about the problem here.
Initially noted in https://opensciencegrid.atlassian.net/browse/HTCONDOR-3411