fermitools / poms

The Production Operations Management System (POMS) is a project designed to provide a service to assist production teams and analysis groups of experiments in their MC production and DATA processing.
https://github.com/fermitools/poms/wiki
1 stars 0 forks source link

Updates for Analysis launches vs condor_vault_storer #16

Open marcmengel opened 6 months ago

marcmengel commented 6 months ago

In launch_jobs, for analysis launches, we need the following added to the launch script:

   export CONDOR_VAULT_STORER_ID=`uuidgen -r`
   export CONDOR_VAULT_STORER_USER="$USER@fnal.gov"
   vtk=`echo $HTGETTOKENOPTS | sed -e 's/.*--vaulttokeninfile=\([^ ]*\).*/\1/'`
   cp $vtk /tmp/vt_$CONDOR_VAULT_STORER_ID-$JOBSUB_GROUP
   chmod 400 /tmp/vt_$CONDOR_VAULT_STORER_ID-$JOBSUB_GROUP

So that the stock condor_vault_storer can operate in the shared poms_launcher environment.

Then we can drop the 'condor_vault_storer' from jobsub_lite, and use the stock HTCondor one (for suitably recent condor versions).