Project

General

Profile

Feature #13847

POMS support

Added by Marc Mengel about 3 years ago. Updated about 2 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
09/13/2016
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Currently POMS uses a separate package "poms_jobsub_wrapper" to integrate job submission with POMS; now that the interface is (we believe) stable, we would like to move that into jobsub_submit and jobsub_submit_dag.

The option would be something like

  --poms-campaign-id=n 

which would do the following:

  • call from the poms_client package's poms_client.py:
       tid = get_task_id_for(campaign_id, user, command_line, 
                       parent_task_id=os.environ.get('POMS_PARENT_TASK_ID',None),  
                        test=os.environ.get('POMS_TEST',None)
                )
    

    and then emulate adding:
    -e POMS_CAMPAIGN_ID \
    -e POMS_TASK_ID \
    -l "+FIFE_CATEGORIES='\"POMS_TASK_ID_$POMS_TASK_ID,POMS_CAMPAIGN_ID_$POM
S_CAMPAIGN_ID$POMS_CAMPAIGN_TAGS\"'" \
    -l "+POMS_TASK_ID=$POMS_TASK_ID" \
    -l "+POMS_CAMPAIGN_ID=$POMS_CAMPAIGN_ID" \

to the command line. Then users can pass --poms_campaign_id rather than use the poms_jobsub_wrapper package, which could be dropped.

History

#1 Updated by Joe Boyd over 2 years ago

  • Priority changed from Normal to High

#2 Updated by Dennis Box almost 2 years ago

  • Target version set to v1.2.8

#3 Updated by Dennis Box 12 months ago

  • Target version changed from v1.2.8 to v1.2.9

#4 Updated by Dennis Box 10 months ago

  • Target version changed from v1.2.9 to v1.2.9.rc_x

#5 Updated by Dennis Box 7 months ago

  • Target version changed from v1.2.9.rc_x to v1.3

#6 Updated by Dennis Box 4 months ago

  • Target version changed from v1.3 to v1.3.3

#7 Updated by Marc Mengel about 2 months ago

We should update this, the list of things to do has gotten longer :-)

see:
https://cdcvs.fnal.gov/redmine/projects/prod_mgmt_db/repository/revisions/develop/entry/poms_jobsub_wrapper/bin/jobsub_submit

and
https://cdcvs.fnal.gov/redmine/projects/prod_mgmt_db/repository/revisions/develop/entry/poms_jobsub_wrapper/bin/slurp_jobid

The latter can be much simpler, since jobsub already has the jobid and doesn't need to parse its own output...



Also available in: Atom PDF