I'm not sure, but when you don't specify a hostname to globusrun-ws,
you get "localhost". So there is a difference between when you submit
and when you monitor:
1) During submit, the client uses the name you provided, which in this
case is localhost or 127.0.0.1. Your certificates and hosts appear to
be setup to make that work
2) During the monitor, the client subscribes to the endpoint provided
by the container. In this case, the container is providing a name,
which you are later changing with the logicalHost.
As to what's really going on between 4.0 and 4.2, it will be hard to
figure that out if you're unwilling to provide the real values in
these messages and container startups and /etc/hosts. Do your
containers print out a different address when started from 4.0 vs. 4.2?
Charles
On Jul 28, 2008, at 6:59 AM, Tatsuhiko Inoue wrote:
Hello
I have a trouble in WS GRAM of GT4.2.0.
globusrun-ws is failed on using -monitor option.
$ globusrun-ws -submit -batch -c /bin/hostname > epr
Submitting job...Done.
Job ID: uuid:bbc7380e-5c96-11dd-ac75-000a9595eb52
Termination time: 07/28/3008 11:17 GMT
$ globusrun-ws -monitor -j epr
globusrun-ws: Error subscribing
globus_xio_gsi: gss_init_sec_context failed.
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host
(example.org), and the expected name for the remote host
(192.168.0.100) do not match. This happens when the name in the host
certificate does not match the information obtained from DNS and is
often a DNS configuration problem.
$ cat epr
<ns00:EndpointReference xmlns:ns00="http://www.w3.org/2005/08/addressing
">
<ns00:Address>https://192.168.0.100:8443/wsrf/services/ManagedExecutableJobService
</ns00:Address>
<ns00:ReferenceParameters><ResourceID xmlns="http://www.globus.org/namespaces/2008/03/gram/job
">bbf49100-5c96-11dd-84e4-f814b61841c8</ResourceID></
ns00:ReferenceParameters>
</ns00:EndpointReference>
(example.org and 192.168.0.100 actually are another values).
This trouble does not occur if I add the following lines to
${GLOBUS_LOCATION}/etc/globus_wsrf_core/server-config.wsdd.
<globalConfiguration>
+ <parameter name="logicalHost" value="example.org"/>
+ <parameter name="publishHostName" value="true"/>
<parameter name="usageStatisticsTargets"
value="usage-stats.globus.org:4810"/>
This setting is not necessary for running globusrun-ws with -monitor
in GT4.0.x.
Why is this setting necessary in GT4.2.0?
I use MacOS X 10.4(pcc) and I builded GT4.2.0 from source code.
----
Tatsuhiko Inoue
[EMAIL PROTECTED]