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

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

It sounds like you are doing things properly. This may be an issue of compatibility between your PHP SOAP library and gSOAP. What library are you using? Also, can you record the XML message being sent to the Schedd when you call Submit() and verify that the job advertisement is the same as the one returned from CreateJobTemplate()?


On May 24, 2005, at 11:47 AM, Juan Ignacio Sánchez Lara 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:

 --- ???? ---

In condorSchedd.log there's an error:

5/24 18:38:44 Received HTTP POST connection from <>
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

Condor-users mailing list