Project

General

Profile

Bug #7470

jobsub_submit can't eats urls.

Added by Herbert Greenlee over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Parag Mhashilkar
Category:
JobSub Client
Target version:
Start date:
12/09/2014
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

If I try to pass a url as a command line option to my batch script (specifically, the url of our samweb server), jobsub_submit spits out the following error.

[Errno 2] No such file or directory: 'samweb.fnal.gov:8480/sam/uboone/api/'

Possibly related to issue 6572.

History

#1 Updated by Parag Mhashilkar over 4 years ago

Hi Herb

This is already addressed as part of #6572

Here is my test example that works with the 1.0.4 rc3 client. You will get a chance to try out v1.0.4 client soon once we are done with internal testing

/cloud/login/parag/wspace/jobsub/code/jobsub/client/jobsub_submit.py --jobsub-server=https://fifebatch-preprod.fnal.gov:8443 --nowrap --group=nova -g -N 3 --lines=periodic_remove=((CommittedTime-CommittedSuspensionTime)>max_allowed_runtime) file:///cloud/login/parag/wspace/jobsub/test/parag_test.sh 10 samweb.fnal.gov:8480/sam/uboone/api/
/scratch/uploads/nova/parag/2014-12-09_151144.842107_6031

WARNING the --nowrapfile option has been disabled at the request of the Grid Operations group.  Your jobs will be submitted with a wrapper and should still run normally. If they do not please open a service desk ticket or send mail to  jobsub-support@fnal.gov 

/scratch/uploads/nova/parag/2014-12-09_151144.842107_6031/parag_test.sh_20141209_151145_5318_0_1.cmd

jobsub_client is now available and should be used to access new Jobsub HA system (fifebatch.fnal.gov)

Please refer below for documentation

- https://cdcvs.fnal.gov/redmine/projects/jobsub/wiki/Obtaining_the_Client

- https://cdcvs.fnal.gov/redmine/projects/jobsub/wiki/Using_the_Client

Report any problems to the service desk 

submitting....

Submitting job(s)...

3 job(s) submitted to cluster 727.

JobsubJobId of first job: 727.0@fermicloud383.fnal.gov

Use job id 727.0@fermicloud383.fnal.gov to retrieve output

JOBSUB SERVER CONTACTED     : https://fifebatch-preprod.fnal.gov:8443
JOBSUB SERVER RESPONDED     : https://fermicloud383.fnal.gov:8443
JOBSUB SERVER RESPONSE CODE : 200 (Success)
JOBSUB SERVER SERVICED IN   : 2.09151387215 sec
JOBSUB CLIENT FQDN          : fermicloud337.fnal.gov
JOBSUB CLIENT SERVICED TIME : 09/Dec/2014 15:11:45

And on the JDF is created with correct set of arguments

universe          = vanilla
executable      = /scratch/uploads/nova/parag/2014-12-09_151144.842107_6031/parag_test.sh_20141209_151145_5318_0_1_wrap.sh
arguments        =  10  samweb.fnal.gov:8480/sam/uboone/api/
environment   = CLUSTER=$(Cluster);PROCESS=$(Process);CONDOR_TMP=/scratch/uploads/nova/parag/2014-12-09_151144.842107_6031;CONDOR_EXEC=/scratch/uploads/nova/parag/2014-12-09_151144.842107_6031;DAGMANJOBID=$(DAGManJobId);IFDH_BASE_URI=http://samweb.fnal.gov:8480/sam/nova/api;SAM_STATION=nova;GRID_USER=parag;SAM_USER=parag;JOBSUBJOBID=$(CLUSTER).$(PROCESS)@fermicloud383.fnal.gov;EXPERIMENT=nova;SAM_GROUP=nova
[...]

#2 Updated by Parag Mhashilkar over 4 years ago

  • Target version set to v1.0.4

This is already addressed in #6572. Will close it when we release 1.0.4

#3 Updated by Parag Mhashilkar over 4 years ago

  • Status changed from New to Resolved

#4 Updated by Parag Mhashilkar over 4 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF