[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Condor-users] RE: condor_config_val macro bug?



Querying the HOSTNAME as you described works as it should, outputting
the proper hostname.  The -config option still returns a path
substituting the local HOSTNAME and not the remote one.  

I'm running 6.7.7, if that matters.

Sean


-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx
[mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Matt Hope
Sent: Thursday, July 21, 2005 12:07 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] RE: condor_config_val macro bug?

> From: Sean Looper 
> Sent: Monday, July 11, 2005 12:02 PM
> To: 'Condor-Users Mail List'
> Subject: condor_config_val macro bug?
> LOCAL_CONFIG_FILE =
> $(NET_DIR)\etc\globalClient\$(HOSTNAME)\condor_config.local
> 
> 
> When I run 'condor_config_val -name dell001 -config' on dell001, I get
this
> output:

> Config file:
> 
>         //manager/condor/etc/globalMaster/condor_config
> 
> Local config file:
> 
>        
> \\manager\Condor\etc\globalClient\dell001\condor_config.local
> 
> 
> However, when I run 'condor_config_val -name dell001 -config' on
dell015, I
> get this output:
> 
> Config file:
> 
>         //manager/condor/etc/globalMaster/condor_config
> 
> Local config file:
> 
>        
> \\manager\Condor\etc\globalClient\dell015\condor_config.local
> 
> It appears that condor_config_val is substituting the $(HOSTNAME)
macro
> based on the querying machine and not the machine being queried.  Is
this
> intended or have I discovered a bug?

I cannot replicate this on 6.6.8 (Windows)

to make it simpler does

condor_config_val -name <localmachine> HOSTNAME

condor_config_val -name <remotemachine> HOSTNAME

exhibit the same behaviour or is it only on expression evaluation?

Matt

_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/condor-users