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

[HTCondor-users] Authentication for remote-submit



Hi all,

I try to submit jobs on a remote machine via python binding.
If I had a account on the other machine it works fine.
I user condor version 8.8.4 on windows OS. Collector, Submitter and Starter are on one (remote) machine.

If there is no account on the submit-machine it does'nt work.

I tried to change the authentication for testing.
SEC_WRITE_AUTHENTICATION_METHODS = CLAIMTOBE
SEC_READ_AUTHENTICATION_METHODS = CLAIMTOBE

For this settings the job starts and finished, but I receive no files from the job (output-file, error-file, results)
What am I doing wrong? How can I make it work?

Submit the job with:
id = schedd.submit(ads, spool=True, ad_results=ads_res)
schedd.spool(ads_res)

Retrieve Files:
schedd.retrieve("ClusterId == %d" % id)

I got this error:
RuntimeError: DCSchedd::receiveJobSandbox:7003:File transfer failed for target j
ob 9.0: SCHEDD at 10.78.140.5 failed to send file(s) to <10.78.140.29:60956>: er
ror reading from C:\condor\spool\9\0\cluster9.proc0.subproc0\model.ans: permissi
on denied; TOOL failed to receive file(s) from <10.78.140.5:9618>

In the SchedLog there are the following lines:
07/26/19 14:27:38 (pid:13688) perm::init: Lookup Account Name EAL\wkoppelstaetter failed (err=1332), trying wkoppelstaetter
07/26/19 14:27:38 (pid:13688) perm::init: Lookup Account Name EAL\wkoppelstaetter failed (err=1332), using Everyone
07/26/19 14:27:38 (pid:13688) DoUpload: (Condor error code 13, subcode 1) SCHEDD at 10.78.140.5 failed to send file(s) to <10.78.140.29:60956>: error reading from C:\condor\spool\9\0\cluster9.proc0.subproc0\model.ans: permission denied; TOOL failed to receive file(s) from <10.78.140.5:9618>
07/26/19 14:27:38 (pid:13688) (cid:2297) generalJobFilesWorkerThread(): failed to transfer files for job 9.0
07/26/19 14:27:38 (pid:13688) condor_write(): Socket closed when trying to write 13 bytes to <10.78.140.29:60956>, fd is 1052
07/26/19 14:27:38 (pid:13688) Buf::write(): condor_write() failed
07/26/19 14:27:38 (pid:13688) ERROR - Staging of job files failed!

Best regards,
Werner