Bugzilla – Bug 2980
Troubleshooting globusrun-ws
Last modified: 2007-03-30 07:45:16
You need to log in before you can comment on or make changes to this bug.
There should be a troubleshooting section at for the Users' Guide as well with a section for common client app errors (linked from the command-line tools section as well as from the indicies). Here is the first candiate for such a section taken from an email discussion: QUESTION ---------------------------------------------------------------------------- Hi all, When I try to use GRAM3.9.5 globusrun-ws to submit a simple job (the "Specifying file staging in the job description" example at http://www-unix.globus.org/toolkit/docs/development/3.9.5/execution/wsgram/user/#howto), I met the following error: it seems that I need to specify <stagingCredentialEndpoint> element in the job description, but I didn't find related information at GT3.9.5 GRAM docs. I will appreciate for your any advice. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> $ bin/globusrun-ws -submit -F ccn7.mcs.anl.gov -f ~/test_stagein.xml Submitting job...Done. Job ID: uuid:9bcc90fa-975d-11d9-b688-00902773854d Termination time: 03/19/2005 03:27 GMT Current job state: StageIn Current job state: Failed Destroying job...Done. globusrun-ws: Job failed: Staging error for RSL element fileCleanUp. java.rmi.RemoteException: A stagingCredentialEndpoint element was not specified in the RSL, but is needed for staging. at org.globus.exec.service.exec.ManagedExecutableJobResource.setStagingStubSecurity(ManagedExecutableJobResource.java:1452) at org.globus.exec.service.exec.StateMachine.submitStagingRequest(StateMachine.java:2299) at org.globus.exec.service.exec.StateMachine.fileCleanUp(StateMachine.java:1747) at org.globus.exec.service.exec.StateMachine.processFailureFileCleanUpState(StateMachine.java:1816) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.globus.exec.service.exec.StateMachine.processState(StateMachine.java:334) at org.globus.exec.service.exec.RunQueue.run(RunQueue.java:141) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< $ cat ~/test_stagein.xml <?xml version="1.0" encoding="UTF-8"?> <job> <executable>my_echo</executable> <directory>${GLOBUS_USER_HOME}</directory> <argument>Hello</argument> <argument>World!</argument> <stdout>${GLOBUS_USER_HOME}/stdout</stdout> <stderr>${GLOBUS_USER_HOME}/stderr</stderr> <fileStageIn> <transfer> <sourceUrl>gsiftp://ccn6.mcs.anl.gov:5678/bin/echo</sourceUrl> <destinationUrl>file:///${GLOBUS_USER_HOME}/my_echo</destinationUrl> </transfer> </fileStageIn> <fileStageOut> <transfer> <sourceUrl>file://${GLOBUS_USER_HOME}/stdout</sourceUrl> <destinationUrl>gsiftp://ccn6.mcs.anl.gov:5678/tmp/stdout</destinationUrl> </transfer> </fileStageOut> <fileCleanUp> <deletion> <file>file://${GLOBUS_USER_HOME}/my_echo</file> </deletion> </fileCleanUp> </job> ANSWER ---------------------------------------------------------------------------- Pass -S to globusrun-ws. -S, -staging-delegate: If supplied AND the job description does include staging or cleanup directives AND the job description does not already provide the necessary stagingCredential or transferCredential element(s), globusrun-ws will delegate the client credential to WS_GRAM and RFT, and introduce the corresponding elements to the submission input.