-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Lengyel, Florian
Sent: Mon 9/17/2007 1:35 PM
To: [email protected]
Subject: [gt-user] logicalHost -- when does globus decide to use hostname?
I have had a persistent problem with the globus toolkit for several years now.
The problem concerns the semantics of logicalHost. The idea of logicalHost is
that it overrides hostname. At least it should, only I haven't seen it do this
consistently in all of the years that I have been using the globus toolkit.
If I try to set the hostname to the logicalHost that I want
globus to use, even if that means breaking other systems that might have
depended on my original hostname, then globus seems to use the hostname
under which it was compiled.
Here's an example. Originally I compiled globus on a machine with
hostname grid.gc.cuny.edu. That was the hostname under which
the simpleCA was created--perhaps this is related.
I wanted the logicalHost name to be m248.gc.cuny.edu,
which refers to a different interface. The following error occurs
a) with hostname grid.gc.cuny.edu and logicalHost m248.gc.cuny.edu
b) with hostname m248.gc.cuny.edu and logicalHost m248.gc.cuny.edu
It's clear that the command /bin/hostname executes - I have the
output. Only the attempt by globus to return the output fails,
because for some reason globus expects to see grid.gc.cuny.edu as
the hostname, even though it is running on m248.gc.cuny.edu,
and that is the hostname.
[EMAIL PROTECTED] ~ $ globusrun-ws -s -submit -c /bin/hostname
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:dfa17d24-6544-11dc-88ad-0002b323da69
Termination time: 09/18/2007 17:38 GMT
Current job state: Active
Current job state: CleanUp-Hold
globusrun-ws: ignoring error while streaming
gsiftp://grid.gc.cuny.edu:2811/home/m248/globus/dfa17d24-6544-11dc-88ad-0002b323da69.0.stdout:
globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host
(m248.gc.cuny.edu), and the expected name for the remote host
(grid.gc.cuny.edu) 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.
globusrun-ws: ignoring error while streaming
gsiftp://grid.gc.cuny.edu:2811/home/m248/globus/dfa17d24-6544-11dc-88ad-0002b323da69.0.stderr:
globus_ftp_control: gss_init_sec_context failed
GSS Major Status: Unexpected Gatekeeper or Service Name
globus_gsi_gssapi: Authorization denied: The name of the remote host
(m248.gc.cuny.edu), and the expected name for the remote host
(grid.gc.cuny.edu) 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.
Current job state: CleanUp
Current job state: Failed
Destroying job...Done.
Cleaning up any delegated credentials...Done.
globusrun-ws: Job failed: Staging error for RSL element fileCleanUp.
[EMAIL PROTECTED] ~ $