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

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



I haven't checked the XML I send, but I have seen that in the
generated ClassAd there's a JobStatus, qith value 1 (Idle).

Help! :-(

On 5/25/05, Juan Ignacio Sánchez Lara <juanignaciosl@xxxxxxxxx> wrote:
> I'm using PEAR. It's the first time I work with SOAP, and it's the one
> I knew... If you had successful experience with other I can still
> change this, but it must be php4-compatible (the server I use doesn't
> have php5).
> 
> This is the output of condor_q -l when I have sent one job:
> bash-2.05b$ condor_q -l
> 
> 
> -- Submitter: atlantis : <127.0.0.1:1056> : atlantis
> MyType = "Job"
> TargetType = "Machine"
> GlobalJobId = "atlantis#1117006815#48.0"
> TransferInput = ""
> Iwd = "/usr/local/condor/home/spool/cluster48.proc0.subproc0"
> ServerTime = 1117006826
> 
> 
> 
> How can I record the XML message I send?
> 
> Thanks very much
> 
> 
> 
> On 5/24/05, Matthew Farrellee <matt@xxxxxxxxxxx> wrote:
> > 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
> > >
> >
> >
> 
> 
> --
> 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