I first contacted their support, but they answered
me that theyÂ
don't provide support for the
HTCondor Python bindings and they suggested me to contact
this mailing list.
My jobs are always stuck in HELD status due to the
reason "Spooling input data filesâ.
This doesnât happen when sending the same job with the
standard command line interface
I am following the tutorial described here
https://htcondor.readthedocs.io/en/latest/apis/python-bindings/tutorials/Submitting-and-Managing-Jobs.html
I send in attachment the script I am using to submit
the job (
test_tutorial.py).
From the API,
https://htcondor.readthedocs.io/en/latest/apis/python-bindings/api/htcondor.html#htcondor.Schedd.submit
and a very old (but still open) GitHub issue,
https://github.com/htcondor/htcondor-python-bindings-tutorials/issues/21
I understood that I have to call the spool
method of the scheduler object since it seems that at my site
I have to spool.
I tried with both the
Âjobs()Âmethod of theÂ
SubmitÂobject
scheduler.spool( [j for
j in job.jobs()]Â)
Âand theÂ
query()Âmethod
of theÂ
SchedulerÂobject,Â
queryÂ=Âscheduler.query(constraint='JobStatus==5
&& Owner == "peresano"')
scheduler.spool(query)
but in both cases I get a similar error,
HTCondorIOError:
DCSchedd::spoolJobFiles:7002:File transfer failed for
target job 4818132.0: Failed to receive GoAhead message
from 131.154.192.42.
Can you help me? I'd really like to use the Python
bindings to deal with my jobs.
Best regards