-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from lsst/tickets/DM-46307
DM-46307: execute butler housekeeping scripts at remote DF for multisite processing
- Loading branch information
Showing
11 changed files
with
186 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
payloadCommand: > | ||
cd {jobInitDir}; | ||
ls -al; | ||
{setupLSSTEnv} | ||
if [[ ! -z \"\${PANDA_AUTH_DIR}\" ]] && [[ ! -z \"\${PANDA_AUTH_ORIGIN}\" ]]; | ||
then export PANDA_AUTH_ID_TOKEN=\$(cat $PANDA_AUTH_DIR); | ||
export PANDA_AUTH_VO=\$PANDA_AUTH_ORIGIN; | ||
export IDDS_OIDC_TOKEN=\$(cat \$PANDA_AUTH_DIR); | ||
export IDDS_VO=\$PANDA_AUTH_ORIGIN; | ||
export PANDA_AUTH=oidc; | ||
else unset PANDA_AUTH; | ||
export IDDS_AUTH_TYPE=x509_proxy; fi; | ||
export PANDA_CONFIG_ROOT=\$(pwd); | ||
export PANDA_VERIFY_HOST=off; | ||
export PANDA_SYS=\$CONDA_PREFIX; | ||
export PANDA_URL_SSL=\${PANDA_SERVER_URL}/server/panda; | ||
export PANDACACHE_URL=\$PANDA_URL_SSL; | ||
export PANDA_URL=\$PANDA_URL_SSL; | ||
export PANDA_BEHIND_REAL_LB=true; | ||
pwd; | ||
export RUBIN_ES_MAP_FILE=orderIdMapFilename; | ||
python3 \${CTRL_BPS_PANDA_DIR}/python/lsst/ctrl/bps/panda/edgenode/cmd_line_decoder.py _cmd_line_ & pJob=\$!; | ||
prmon -i 5 | ||
-f ${logDir}/memory_monitor_output.txt | ||
-j ${logDir}/memory_monitor_summary.json | ||
-p \$pJob & mJob=\$!; | ||
wait \$pJob; | ||
ret=\$?; | ||
wait \$mJob; | ||
{jobCleanup} | ||
exit \$ret; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The changes were made to allow the plugin to execute jobs remotely without the necessity to use remote build approach. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.