-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master
-
Component/s: Pegasus Planner
-
None
As part of PM-866, we need to collect the Condor job ID in the invocation record. Unfortunately, it looks like Condor does not provide this information as an environment variable by default. It can be read from the job classad, but sometimes the job classad is not available (e.g. Condor-G jobs).
A better solution would be to modify the environment of all the jobs so that they contain the job ID. That can be done like this:
environment = CONDOR_JOBID=$(cluster).$(process)
That environment variable would need to be added to all condor submit scripts.
I also considered adding it as an argument to kickstart, but then we would have a backwards-compatibility problem for old versions of kickstart that do not support the command-line flag.