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

[8.0] fix: make sure CVMFS_locations is a list #7563

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

aldbr
Copy link
Contributor

@aldbr aldbr commented Apr 11, 2024

When CVMFS_locations contains a single value, it is currently interpreted as a string, whereas pilotWrapperScript expects a list of elements.
Then, this can potentially prevent the pilots from retrieving the pilot files.

2024-04-09 13:24:18 UTC ERROR    <urlopen error [Errno 2] No such file or directory: './lhcbdirac/pilot/checksums.sha512'>
 Traceback (most recent call last):
   File "<stdin>", line 106, in <module>
   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
     return opener.open(url, data, timeout)
   File "/usr/lib64/python2.7/urllib2.py", line 431, in open
     response = self._open(req, data)
   File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
     '_open', req)
   File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
     result = func(*args)
   File "/usr/lib64/python2.7/urllib2.py", line 1353, in file_open
     return self.open_local_file(req)
   File "/usr/lib64/python2.7/urllib2.py", line 1393, in open_local_file
     raise URLError(msg)
 URLError: <urlopen error [Errno 2] No such file or directory: './lhcbdirac/pilot/checksums.sha512'>
 Trying file:c/lhcbdirac/pilot
 2024-04-09 13:24:18 UTC ERROR    file:c/lhcbdirac/pilot unreacheable (this is normal!)
 2024-04-09 13:24:18 UTC ERROR    <urlopen error [Errno 2] No such file or directory: 'c/lhcbdirac/pilot/checksums.sha512'>
 Traceback (most recent call last):
   File "<stdin>", line 106, in <module>
   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
     return opener.open(url, data, timeout)
   File "/usr/lib64/python2.7/urllib2.py", line 431, in open
     response = self._open(req, data)
   File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
     '_open', req)
   File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
     result = func(*args)
   File "/usr/lib64/python2.7/urllib2.py", line 1353, in file_open
     return self.open_local_file(req)
   File "/usr/lib64/python2.7/urllib2.py", line 1393, in open_local_file
     raise URLError(msg)
 URLError: <urlopen error [Errno 2] No such file or directory: 'c/lhcbdirac/pilot/checksums.sha512'>
 Trying file:h/lhcbdirac/pilot
 2024-04-09 13:24:18 UTC ERROR    file:h/lhcbdirac/pilot unreacheable (this is normal!)
 2024-04-09 13:24:18 UTC ERROR    <urlopen error [Errno 2] No such file or directory: 'h/lhcbdirac/pilot/checksums.sha512'>
 Traceback (most recent call last):
   File "<stdin>", line 106, in <module>
   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
     return opener.open(url, data, timeout)
   File "/usr/lib64/python2.7/urllib2.py", line 431, in open
     response = self._open(req, data)
   File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
     '_open', req)
   File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
     result = func(*args)
   File "/usr/lib64/python2.7/urllib2.py", line 1353, in file_open
     return self.open_local_file(req)
   File "/usr/lib64/python2.7/urllib2.py", line 1393, in open_local_file
     raise URLError(msg)
 URLError: <urlopen error [Errno 2] No such file or directory: 'h/lhcbdirac/pilot/checksums.sha512'>
 2024-04-09 13:24:18 UTC ERROR    None of the locations of the pilot files is reachable

BEGINRELEASENOTES
*WorkloadManagement
FIX: make sure CVMFS_locations is a list
ENDRELEASENOTES

@aldbr aldbr requested a review from fstagni April 11, 2024 13:40
@DIRACGridBot DIRACGridBot added the alsoTargeting:integration Cherry pick this PR to integration after merge label Apr 11, 2024
@fstagni fstagni merged commit f19856b into DIRACGrid:rel-v8r0 Apr 12, 2024
25 checks passed
@DIRACGridBot DIRACGridBot added the sweep:done All sweeping actions have been done for this PR label Apr 12, 2024
DIRACGridBot pushed a commit to DIRACGridBot/DIRAC that referenced this pull request Apr 12, 2024
@DIRACGridBot
Copy link

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/8659501224

Successful:

  • integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alsoTargeting:integration Cherry pick this PR to integration after merge sweep:done All sweeping actions have been done for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants