-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master
-
Component/s: Pegasus Planner
-
None
We often have this problem where we need to generate a site catalog because we have something in there that is dynamic, like a username or something. Similar issues exist for the TC, RC and DAX.
It would be nice if we could insert environment variables into these files. For example, in the site catalog we could have:
<profile namespace="globus" key="project">$PROJECT</profile>
Or:
<directory type="shared-storage" path="/project/projectdirs/m2187/sns/$RUN">
Or in the RC:
production_200.conf file://$PWD/production_200.conf pool="local"
We could even have pegasus-defined variables, like:
<job id="ID0000001" name="echo">
<argument>$PEGASUS_JOBID $PEGASUS_WF_UUID</argument>
</job>
Or something crazier, like:
<job id="ID0000001" name="ping">
<argument>-c 5 $(uname -n)</argument>
</job>
Undefined variables cause the planner to fail.
- blocks
-
PM-1112 enable variable expansion for regex based replica catalog
- Resolved