fermitools / jobsub_lite

jobsub_lite is a wrapper for HTCondor job submission
Apache License 2.0
1 stars 7 forks source link

Stealing token compat from ifdh.cfg for fake_ifdh.py #562

Closed marcmengel closed 7 months ago

marcmengel commented 7 months ago

Token-only launches were failing to copy sandbox files at launch... Needed BEARER_TOKEN set in the environment for gfal utilities. Fixes #561

marcmengel commented 7 months ago

RIght; so that only happens in the subshell we run the gfal-copy in; we scrub the various PYTHON related variables (because the gfal developers don't know about "python -I " ?) and grab BEARER_TOKEN from BEARER_TOKEN_FILE, if it is set.