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

Reply via email to