Support XSEDE ProjectId as a credential in GlideinWMS
Assigning it to v3.2.12 for now. Based on the changes will readjust the target version.
On Jan 25, 2016, at 12:22 PM, Fajardo Hernandez, Edgar wrote:
Dear GlideinWMs Devs,
Brian and myself have been working these last weeks on some code modifications for allowing the glide ins to use ProjectID. The ProjectID is something used inside XSEDE to track allocations. What this pull contains is the support for passing it all the way from the Frontend to the pilots in the factory. So gatekeepers (gram and htcondor-ce) can use it.
It can be done in two ways:
1.In the frontend configuration the project_id can be added to an existing credential like this:
<credentials> <credential absfname="/tmp/vo_proxy" project_id="TG-123456" security_class="frontend" trust_domain="grid" type="grid_proxy"/> </credentials>
2.Or it can be added to an individual submit file for a job like:
This has already been tested within the LIGO fronted, the ITB factory and the Stampede gram
I created two pull requests:
One for the master:
And one for 3_2:
Lego, OSG Frontend and several other FE and factories have already use for this use case. So If possible let me know how can I help to shepherd this into the main code as fast as possible.
#3 Updated by Parag Mhashilkar over 4 years ago
Sent feedback separately. Waiting to hear back.Summary of feedback
- Atleast from my code review and debug statements from log, I noticed bugs introduced in couple of places when comparing strings
- Incompatibility with python 2.4. But this may be a non-issue.
- Use of expensive deepcopy. Can this be avoided?