Skip to content

Commit

Permalink
Update coffea_casa module
Browse files Browse the repository at this point in the history
Fixing error Error: reading from file /etc/cmsaf-secrets-chown/access_token: (errno 2) No such file or directory; SCHEDD failed to receive file(s) from <172.30.24.15:53618>
  • Loading branch information
oshadura committed Feb 23, 2023
1 parent 0440ddc commit fa93020
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion coffea_casa/coffea_casa.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ def _modify_job_kwargs(cls,
if (CA_FILE.is_file() and CERT_FILE.is_file() and cls.security().get_connection_args("scheduler")["require_encryption"]):
job_config["protocol"] = "tls://"
job_config["security"] = cls.security()
input_files += [CA_FILE, CERT_FILE, XCACHE_FILE, XCACHE_SCITOKEN_FILE]
input_files += [CA_FILE, CERT_FILE]
if (XCACHE_SCITOKEN_FILE.is_file()):
input_files += [XCACHE_SCITOKEN_FILE]
if (XCACHE_FILE.is_file()):
input_files += [XCACHE_FILE]
else:
raise KeyError("Please check with system administarator why you do not have a certificate.")
files = ", ".join(str(path) for path in input_files)
Expand Down

0 comments on commit fa93020

Please sign in to comment.