Hi All,
Just a week back i started learning htcondor. My questions may be silly / very basic level sorry for that.
I installed a Htcondor on my windows machine, i want to make my windows machine as a "Central Manger"
From my linux VM, using python bindings i want to "submit" jobs on my windows "central
manger"
I have 2 problems:
1) I wrote
coll = htcondor.Collector("10.70.29.170")
schedd_ad = coll.locate(htcondor.DaemonTypes.Schedd)
schedd = htcondor.Schedd(schedd_ad)
while creating collector object i directly passed my windows ip address to access collector daemon, it worked.
I want Same functionality (access collector, schedd daemon in linux vm) through condor_config file: I tried to write condor_config file as below:
CONDOR_HOST =
COLLECTOR_HOST= windows ip
DAEMON_LIST = MASTER, STARTD, SCHEDD
LOCAL_DIR = C:\condor
but this did not work. can any one help me with condor_config file. what setup i am missing?
2)
coll = htcondor.Collector("10.70.29.170")
schedd_ad = coll.locate(htcondor.DaemonTypes.Schedd)
schedd = htcondor.Schedd(schedd_ad)
print (schedd)
Output: <htcondor.htcondor.Schedd object at 0x7f52781c5e68>
now collector, schedd daemon's are running in my linux vm. but, when i do:
sub = htcondor.Submit({"executable": "/bin/sleep", "arguments": "5m"})
with schedd.transaction() as txn:
print(sub.queue(txn))
I can see a error: RuntimeError: Failed to connect to schedd.
Do i need to make any other configuration to connect to schedd?
Thanks in advance.