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

Re: [HTCondor-users] Condor 8.4.3 on Windows 7 with Unattended Installation Procedure: Error with condor_urlfetch?



Iâll file a bug on this.  But this is purely cosmetic.  The config file reader only looks at newlines.  It doesnât care about carriage returns and discards them if they exist.

 

From: Stub [mailto:spamrefuse@xxxxxxxxx]
Sent: Thursday, January 21, 2016 11:33 PM
To: John M Knoeller <johnkn@xxxxxxxxxxx>; HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Condor 8.4.3 on Windows 7 with Unattended Installation Procedure: Error with condor_urlfetch?

 

Thank you. This is indeed a nice new feature in the config file.

 

On the Windows PC with the unattended install, I noticed a glitch; the bar "|" is immediately followed (on the very same line) by the next line:

 

"...$(LOCAL_DIR)\condor_config.url_cache |##  If your configuration..."

 

All other line beginnings in the config file start nicely on new lines.

 

I guess there is a problem with the DOS anomaly  "newline" vs. "newline + carriage return" when this particular line was generated.

 

Does somebody want to fix this non-critical glitch?

 

Regards,

R.

 

On Friday, January 22, 2016 1:22 AM, John M Knoeller <johnkn@xxxxxxxxxxx> wrote:

 

The | at the end is necessary an correct when you are using a URL as your local config.

The | at the end tells HTCondor that this is a command to run rather than a list of files to open.

 

-tj

 

From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Stub
Sent: Monday, January 18, 2016 9:39 PM
To: Condor-users <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Condor 8.4.3 on Windows 7 with Unattended Installation Procedure: Error with condor_urlfetch?

 

Hi,

 

I use the Unattended installation procedure for Windows 7, as follows:

 

set ARGS=

set ARGS=NEWPOOL="N"

set ARGS=%ARGS% POOLNAME="Library"

set ARGS=%ARGS% RUNJOBS="C"

set ARGS=%ARGS% VACATEJOBS="Y"

set ARGS=%ARGS% SUBMITJOBS="N"

set ARGS=%ARGS% CONDOREMAIL=""

set ARGS=%ARGS% SMTPSERVER=""

set ARGS=%ARGS% HOSTALLOWREAD="25.245.0.0/16"

set ARGS=%ARGS% HOSTALLOWWRITE="25.245.0.0/16"

set ARGS=%ARGS% HOSTALLOWADMINISTRATOR="condor.mynet.edu"

set ARGS=%ARGS% INSTALLDIR="C:\condor"

set ARGS=%ARGS% POOLHOSTNAME="condor.mynet.edu"

set ARGS=%ARGS% ACCOUNTINGDOMAIN="none"

set ARGS=%ARGS% JVMLOCATION="java.exe"

set ARGS=%ARGS% USEVMUNIVERSE="N"

set ARGS=%ARGS% VMMEMORY=""

set ARGS=%ARGS% VMMAXNUMBER="$(NUM_CPUS)"

set ARGS=%ARGS% VMNETWORKING="N"

set ARGS=%ARGS% USEHDFS="N"

set ARGS=%ARGS% NAMENODE=""

set ARGS=%ARGS% HDFSMODE=""

set ARGS=%ARGS% HDFSPORT=""

set ARGS=%ARGS% HDFSWEBPORT=""

set ARGS=%ARGS% LOCALCONFIG="http://condor.mynet.edu/condor_config.local"

 

msiexec /qn /norestart /l*v condor-install-log.txt /i condor-8.4.3-352143-Windows-x86.msi %ARGS%

 

 

When I then check the created condor_config file, it contains the following line for the LOCALCONFIG setting:

 

 

LOCAL_CONFIG_FILE = condor_urlfetch -$(SUBSYSTEM) http://condor.mynet.edu/condor_config.local $(LOCAL_DIR)\condor_config.url_ca

che |

 

 

Is this correct?

Notice the bar "|" at the end of the line.

Should that be there, or will that cripple LOCALCONFIG settings?

 

Thank you.

Rob.