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

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



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