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.