| Summary: | globusrun-ws output for bad -Ft is unhelpful. | ||
|---|---|---|---|
| Product: | GRAM | Reporter: | Charles Bacon <bacon@mcs.anl.gov> |
| Component: | wsrf gram clients | Assignee: | Martin Feller <feller@mcs.anl.gov> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | bester@mcs.anl.gov, lane@mcs.anl.gov, madduri@mcs.anl.gov |
| Priority: | P3 | ||
| Version: | 4.0.2 | ||
| Target Milestone: | 4.0.4 | ||
| Hardware: | Macintosh | ||
| OS: | All | ||
Here's what I've done for the first case:
% globusrun-ws -submit -Ft Foo -c /bin/date
Submitting job...Failed.
globusrun-ws: Error submitting job
globus_soap_message_module: SOAP Fault
Fault code: soapenv:Server.userException
Fault string: java.rmi.RemoteException: Job creation failed.; nested exception
is:
java.rmi.RemoteException: The Managed Job Factory Service at
https://192.168.0.101:8443/wsrf/services/ManagedJobFactoryService does not have
a resource with key "Foo".
The fix is in globus_4_0_branch, but I need to merge this to HEAD yet.
The second error is probably being emitted from the
GetMultipleResourceProperties operation provider, so I don't have any control
over that. I'll reassign this to Joe once I'm finished merging so that he can
comment on how globusrun-ws is interpreting things in this case. It's clear
that globusrun-ws is adding in it's own error message ("Error querying
delegation factories"), but I don't know how much more sophisticated that can
get.
Martin, Can you commit this fix in the trunk. Doesn't look like this fix got there. Thanks, Stu
Ignore the part about the globusrun-ws and the delegation error. I made a new
bug 5009 for that for Joe.
Added fix for MJFS and JSDL-MJFS in Trunk. Changed the error message to "The Managed Job Factory Service at <servicename> does not support the local resource manager with name <name>."
jomlowe@BigRed:/var/local/globus-ws-4.0.1-r3> globusrun-ws -submit -F $CONTACT -Ft LoadLeveler -c /bin/date Submitting job...Failed. globusrun-ws: Error submitting job globus_soap_message_module: SOAP Fault Fault code: soapenv:Server.userException Fault string: java.rmi.RemoteException: Job creation failed.; nested exception is: org.globus.wsrf.NoSuchResourceException The error here is that -Ft LoadLeveler should be -Ft Loadleveler. It seems like this kind of error could be caught more readily and output as something like: The GRAM Service at ${WHEREVER} does not have a Factory Type of ${BADFT}. Similarly for the case where we can't find the delegation service because the -Ft was bad: jomlowe@BigRed:/var/local/globus-ws-4.0.1-r3> globusrun-ws -submit -F $CONTACT -Ft LoadLeveler -s -c /bin/date Delegating user credentials...Failed. globusrun-ws: Error trying to delegate Error querying delegation factories globus_soap_message_module: SOAP Fault Fault code: soapenv:Server.generalException