[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] SOAP API... Jobs don't run



Hi all,

I'm trying to work with the SOAP API for condor. I use the 
SOAPScheddApiHelper from 
http://www.cs.wisc.edu/condor/birdbath/SOAPScheddApiHelper.java
When I send a job, it enqueues correctly but never runs. If I try to 
delete a job, it never seems to be thrown away from the queue completely 
(it stays in X state, for more than a day for the first task)

-- Submitter: patrouille.grideads.net : <10.251.147.33:9613> : 
patrouille.grideads.net
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
   1.0   nobody          7/22 17:10   0+00:00:02 X  0   0.0  cp -f 
TestFile Tes
   2.0   nobody          7/25 09:17   0+00:00:02 X  0   0.0  deploy.sh 
toDeploy
   3.0   condor          7/25 11:57   0+00:00:09 X  0   0.0  deploy.sh
   4.0   condor          7/25 12:05   0+00:00:00 X  0   0.0  deploy.sh
   6.0   condor          7/25 14:58   0+00:00:00 X  0   0.0  deploy.sh 
mesher m
   9.0   condor          7/25 15:46   0+00:00:03 I  0   0.0  deploy.sh 
mesher m
  10.0   condor          7/25 15:52   0+00:00:00 I  0   0.0  deploy.sh 
mesher m
  11.0   condor          7/25 16:10   0+00:00:00 I  0   0.0  date

4 jobs; 4 idle, 0 running, 0 held
[condor@patrouille 6.7.8]$ condor_q -analyze 11


-- Submitter: patrouille.grideads.net : <10.251.147.33:9613> : 
patrouille.grideads.net
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
---
011.000:  Run analysis summary.  Of 2 machines,
      0 are rejected by your job's requirements
      0 reject your job because of their own requirements
      0 match but are serving users with a better priority in the pool
      2 match but reject the job for unknown reasons
      0 match but will not currently preempt their existing job
      0 are available to run your job
        No successful match recorded.
        Last failed match: Mon Jul 25 16:10:30 2005
        Reason for last match failure: no match found

I tried to submit the same job from the SOAP API and from the Command 
Line, but only the Command Line submitted jobs are executed (which 
explains the lack of jobs 5.0, 7.0 and 8.0 in the list). The first task 
is the one from the example given with the helper. The last ones are 
just a call to "/bin/date" to avoid having to transfer any file. Then 
invocation line is:

SOAPScheddApiHelper.submitJobHelper(schedd, null, -1, -1, "condor", 
UniverseType.VANILLA, "/bin/date","", "OpSys==\"LINUX\"", null, 
filesToSend);

Files to send is null.

All I could find in the log is, from MatchLog:

7/25 16:25:31       Rejected 10.0 condor@xxxxxxxxxxxxxxxxxxxxxxx 
<10.251.147.33:9613>: no match found
7/25 16:25:31       Rejected 11.0 condor@xxxxxxxxxxxxxxxxxxxxxxx 
<10.251.147.33:9613>: no match found

But I don't understand why. This works with a job description file and 
the condor_submit command.
I have a 2 procs workstations, and it's the only machine in my pool for 
the time of the firsts tests.

I'd appreciate a little help here...

Regards

Matthieu Cargnelli