Do you see errors in the server-side container log for the problematic jobs?

Lucio Agostinho Rocha wrote:
> Hi, thanks by answer. I want to submit a job in a REMOTE_IP and recover the 
> result in LOCAL_IP. I tried to do this appending delegation in xml job, but 
> this don't works. Then, I tried to do tests only in LOCAL_IP, but delegation 
> seens don't works.
> 
> I tried the following with the job_medidas_sonares2.xml:
> 
> <job>
> 
>     <executable>globus_MedidasSonares</executable>
>     
> <directory>/usr/local/HttpIpthru/API_HttpIpthru_01_03_2010/C++-API/src</directory>
>     <argument>SID_0000</argument>
>     <argument>http://127.0.0.1:4951</argument>
>     <stdout>/tmp/stdout</stdout>
> 
> </job>
> 
> Then I create the credentials:
> 
> $GLOBUS_LOCATION/bin/globus-credential-delegate -h LOCAL_IP -p 8443 
> mycredential.epr
> 
> 1) Submission without credential:
> 
> globusrun-ws -submit -f job_medidas_sonares2.xml
> Submitting job...Done.
> Job ID: uuid:7e8ffbc0-3c09-11df-9830-001c23c0ceff
> Termination time: 03/31/2010 14:35 GMT
> Current job state: Active
> Current job state: CleanUp
> Current job state: Done
> Destroying job...Done.
> 
> 2) Same job, with credentials:
> 
> $ globusrun-ws -submit -Sf /home/lucio/mycredential.epr -Jf 
> /home/lucio/mycredential.epr -f job_medidas_sonares2.xml
> Submitting job...Done.
> Job ID: uuid:af91f516-3c09-11df-afda-001c23c0ceff
> Termination time: 03/31/2010 14:36 GMT
> 
> And, after a period:
> 
> Current job state: Unsubmitted
> 
> And, cancelling:
> 
> Canceling...Canceled.
> Destroying job...Canceling...Failed.
> globusrun-ws: Operation was canceled
> globusrun-ws: Unable to destroy job: Error destroying job
> globus_soap_message_module: Failed receiving response 
> ManagedJobPortType_Destroy.
> globus_soap_message_module: SOAP Message transport failed: Error in HTTP 
> response
> globus_xio: Operation was canceled
> 
> I tried the same with other job:
> 
> <job>
>     <executable>/bin/echo</executable>
>     <directory>/home/lucio</directory>
>     <argument>Hello</argument>
>     <argument>World!</argument>
>     <stdout>/home/lucio/stdout</stdout>
>     <stderr>/home/lucio/stderr</stderr>
> </job>
> 
> Then I submit:
> 
> $ globusrun-ws -submit -f job.xml
> Submitting job...Done.
> Job ID: uuid:4b03d104-3c0a-11df-8be9-001c23c0ceff
> Termination time: 03/31/2010 14:41 GMT
> Current job state: Active
> Current job state: CleanUp
> Current job state: Done
> Destroying job...Done.
> 
> But using credentials, same error. I'm thinking abou to submit jobs without 
> globusrun-ws.
> I guess that this can be a error in wsrf in GT4.0.8. I thinking about update 
> to GT4.2.1 'cause GT5 do not supports WSRF yet. Some ideas?
> 
> Again, thanks,
> 
> Lucio
> .....
> 
> --- Em seg, 29/3/10, Martin Feller <[email protected]> escreveu:
> 
>> De: Martin Feller <[email protected]>
>> Assunto: Re: [gt-user] Doubt about job submition
>> Para: "Lucio Agostinho Rocha" <[email protected]>
>> Cc: [email protected]
>> Data: Segunda-feira, 29 de Março de 2010, 22:50
>> Can you verify that the delegated
>> credential you try to use is still valid?
>>
>> Does it work if you delegate a credential and store the EPR
>> of your delegated
>> credential in a file, say delegCred.epr, and use this file
>> instead of
>> pasting the EPR into the job description?
>>
>> globusrun-ws -submit -Sf delegCred.epr -Jf delegCred.epr -f
>> job_medidas_sonares2.xml
>>
>> (job_medidas_sonares2.xml must not contain any job-,
>> staging- or transfer-credential
>> endpoints in this case)
>>
>> Martin
>>
>> Lucio Agostinho Rocha wrote:
>>> Ok, the procedings:
>>>
>>> 1. Altered contents of job_medidas_sonares2.xml:
>>>
>>> <job>
>>>
>>>  
>>    <executable>globus_MedidasSonares</executable>
>>>  
>>    
>> <directory>/usr/local/HttpIpthru/API_HttpIpthru_01_03_2010/C++-API/src</directory>
>>>  
>>    <argument>SID_0000</argument>
>>>      <argument>http://127.0.0.1:4951</argument>
>>>  
>>    <stdout>/tmp/stdout</stdout>
>>> </job>
>>>
>>> $ globusrun-ws -submit -f job_medidas_sonares2.xml
>>> Submitting job...Done.
>>> Job ID: uuid:f0454c38-3b60-11df-8150-001c23c0ceff
>>> Termination time: 03/30/2010 18:28 GMT
>>> Current job state: Active
>>> Current job state: CleanUp
>>> Current job state: Done
>>> Destroying job...Done.
>>>
>>> 2. globusrun-ws -submit -S -J -b -o
>> /home/lucio/mycredential.epr -f job_medidas_sonares2.xml
>>> Delegating user credentials...Done.
>>> Submitting job...Done.
>>> Job ID: uuid:36c483e0-3b61-11df-909e-001c23c0ceff
>>> Termination time: 03/30/2010 18:30 GMT
>>>
>>> The job executes with success in this cases. I guess
>> that something is wrong with my initial XML; could you
>> suggest a example of XML with transfer and delegation key
>> that works?
>>> Again, thanks,
>>>
>>> Lucio
>>> .....
>>>
>>>
>>>
>>> --- Em seg, 29/3/10, Martin Feller <[email protected]>
>> escreveu:
>>>> De: Martin Feller <[email protected]>
>>>> Assunto: Re: [gt-user] Doubt about job submition
>>>> Para: "Lucio Agostinho Rocha" <[email protected]>
>>>> Cc: [email protected]
>>>> Data: Segunda-feira, 29 de Março de 2010, 15:13
>>>> Ok, let's try some things to narrow
>>>> it down.
>>>>
>>>> 1. What happens if you submit a job without
>> staging and
>>>> without delegating a credential?
>>>> 2. What happens if you let globusrun-ws delegate
>> for you?
>>>>     To do that: Remove the job-,
>> staging-,
>>>> and tansferCredentialEndpoint elements
>>>>     from your job description and call
>>>> globusrun-ws as follows:
>>>>         globusrun-ws -submit -S
>> -J
>>>> -b -o myJob.epr -f
>>>> job_description_without_credential_links.xml
>>>>     and check for job status like
>>>>         globusrun-ws -status
>> -j
>>>> myJob.epr
>>>>
>>>> Do you have access to the server, i.e. could you
>> do a
>>>> server restart and
>>>> do a change to a server-side script? I wonder if
>> you might
>>>> hit the following
>>>> bug, but please try the things above first.
>>>>
>>>> http://bugzilla.globus.org/globus/show_bug.cgi?id=6341
>>>>
>>>> Martin
>>>>
>>>> Lucio Agostinho Rocha wrote:
>>>>> Hi, thanks by answer,
>>>>>
>>>>> Running the following:
>>>>>
>>>>> $     globusrun-ws -submit
>> -b -o
>>>> myJob.epr -f job_medidas_sonares.xml
>>>>> and
>>>>>    poll for status via
>>>>>
>>>>>       globusrun-ws -status -j
>>>> myJob.epr
>>>>> I get:
>>>>>
>>>>> Current job state: Unsubmitted
>>>>>
>>>>> I tried to execute globus-url-copy:
>>>>>
>>>>> $ globus-url-copy gsiftp://LOCAL_IP/home/lucio/m1.txt 
>>>>> gsiftp://REMOTE_IP/home/lucio/m2.txt
>>>>>
>>>>> And this works. Why job transfer is not
>> working? Some
>>>> ideas?
>>>>> Thanks in advance,
>>>>>
>>>>> Lucio
>>>>> ..........
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>    
>> ____________________________________________________________________________________
>>>>> Veja quais são os assuntos do momento no
>> Yahoo!
>>>> +Buscados
>>>>> http://br.maisbuscados.yahoo.com
>>>
>>>    
>>    
>> ____________________________________________________________________________________
>>> Veja quais são os assuntos do momento no Yahoo!
>> +Buscados
>>> http://br.maisbuscados.yahoo.com
>>
> 
> 
>       
> ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com

Reply via email to