mirror of
https://gitlab.cs.uni-saarland.de/hpc/cc-condor-sync.git
synced 2024-12-26 13:39:05 +01:00
Don't check outdated cc job data.
This commit is contained in:
parent
9e96f65977
commit
9571f3cda6
@ -198,9 +198,9 @@ class CondorSync:
|
|||||||
print("INFO: Create job %s, user %s, name %s" %
|
print("INFO: Create job %s, user %s, name %s" %
|
||||||
(job['GlobalJobId'], job['Owner'], job['JobBatchName'] if 'JobBatchName' in job else ''))
|
(job['GlobalJobId'], job['Owner'], job['JobBatchName'] if 'JobBatchName' in job else ''))
|
||||||
jobId = self._jobIdToInt(job['GlobalJobId'])
|
jobId = self._jobIdToInt(job['GlobalJobId'])
|
||||||
for j in self.ccData['jobs']:
|
# for j in self.ccData['jobs']:
|
||||||
if j['jobId'] == jobId:
|
# if j['jobId'] == jobId:
|
||||||
return
|
# return
|
||||||
|
|
||||||
nodelist = [job['RemoteHost'].split('@')[1]]
|
nodelist = [job['RemoteHost'].split('@')[1]]
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ class CondorSync:
|
|||||||
print("DEBUG: sync called")
|
print("DEBUG: sync called")
|
||||||
print("DEBUG: jobid %s" % jobid)
|
print("DEBUG: jobid %s" % jobid)
|
||||||
|
|
||||||
self._readCCData()
|
# self._readCCData()
|
||||||
|
|
||||||
with tailf.Tail(self.config['htcondor']['eventlog']) as tail:
|
with tailf.Tail(self.config['htcondor']['eventlog']) as tail:
|
||||||
remaining = ""
|
remaining = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user