I've just updated to our servers to version 7.3.4 but I get errors in the SiteDirector agent:
2021-10-06 14:22:43 UTC WorkloadManagement/SiteDirector VERBOSE: pilotOptions: -S CTA-cert -l CTA -e CTA -N
ce14.pic.es -Q condor -n
LCG.PIC.es --userEnvVariables DIRACSYSCONFIG:::pilot.cfg
2021-10-06 14:22:43 UTC WorkloadManagement/SiteDirector ERROR: Exception during pilot modules files compression
Traceback (most recent call last):
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 1024, in _writePilotScript
pilotFilesCompressedEncodedDict = getPilotFilesCompressedEncodedDict(pilotFiles,
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py", line 288, in getPilotFilesCompressedEncodedDict
with open(pf, "r") as fd:
FileNotFoundError: [Errno 2] No such file or directory: 'Core/scripts/dirac-install.py'
2021-10-06 14:22:43 UTC WorkloadManagement/SiteDirector ERROR: Agent exception while calling method <bound method SiteDirector.execute of <DIRAC.WorkloadManagementSystem.Agent.SiteDirector.SiteDirector object at 0x7fec4bbba0d0>>
Traceback (most recent call last):
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/Core/Base/AgentModule.py", line 345, in am_secureCall
result = functor(*args)
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 326, in execute
result = self.submitPilots()
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 445, in submitPilots
res = self._submitPilotsToQueue(pilotsToSubmit, ce, queueName)
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 705, in _submitPilotsToQueue
executable = self.getExecutable(queue,
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 919, in getExecutable
executable = self._writePilotScript(workingDirectory=workingDirectory,
File "/opt/dirac/versions/v2.0a5-1633444362/Linux-x86_64/lib/python3.9/site-packages/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py", line 1030, in _writePilotScript
localPilot = pilotWrapperScript(pilotFilesCompressedEncodedDict=pilotFilesCompressedEncodedDict,
UnboundLocalError: local variable 'pilotFilesCompressedEncodedDict' referenced before assignment