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

Re: [Condor-users] Re: Job submission vía SOAP (PHP)



It would also be helpful to see what 'condor_q -l' reports.


matt

On May 24, 2005, at 12:02 PM, Juan Ignacio Sánchez Lara wrote:

This is the schedd log of my submission:

5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4503>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 SOAP leaving condor__beginTransaction() id=-1820734976
5/24 19:00:26 Completed servicing HTTP request
5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4504>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 SOAP leaving condor__newCluster() res=0
5/24 19:00:26 Completed servicing HTTP request
5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4505>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 mkdir(/usr/local/condor/home/spool/ cluster46.proc0.subproc0)
succeeded.
5/24 19:00:26 SOAP leaving condor__newJob() res=0
5/24 19:00:26 Completed servicing HTTP request
5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4506>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 Completed servicing HTTP request
5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4507>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 SOAP leaving condor__submit() res=0
5/24 19:00:26 Completed servicing HTTP request
5/24 19:00:26 Received HTTP POST connection from <127.0.0.1:4508>
5/24 19:00:26 Current Socket bufsize=85k
5/24 19:00:26 Current Socket bufsize=49k
5/24 19:00:26 About to serve HTTP request...
5/24 19:00:26 SOAP leaving condor__commitTransaction() res=0





On 5/24/05, Juan Ignacio Sánchez Lara <juanignaciosl@xxxxxxxxx> wrote:

I'm trying to implement a web portal to a Condor cluster with PHP and
SOAP, but can't manage to send jobs. Everything seems to work fine,
but if I do condor_q after submit() I see the next:

 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
 --- ???? ---

In condorSchedd.log there's an error:

5/24 18:38:44 Received HTTP POST connection from <127.0.0.1:2314>
5/24 18:38:44 About to serve HTTP request...
5/24 18:38:44 Job has no JobStatus attribute.  Ignoring...


I pass submit() a classAd made with
createJobTemplate($cluster['cluster'], $trabajo['trabajo'],
'myuser@myhost', 'VANILLA', 'date', null, 'OpSys == "LINUX"');


These are the steps I follow to perform the submission:

1. beginTransaction
2. newCluster
3. newJob
4. createJobTemplate
5. submit
6. commitTransaction

I check the messages returned by each call, and all of them report a
"SUCCESS" status. I've even seen the contents of the classAd generated
by createJobTemplate and it contains a JobStatus (value 1).


What am I doing wrong?

Thanks very much



--
Juan Ignacio Sánchez Lara
Ingeniero Técnico en Informática de Sistemas




--
Juan Ignacio Sánchez Lara
Ingeniero Técnico en Informática de Sistemas

_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users