You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: genericOptions should be a list of options but only last given option takes effect #284
I have searched existing issues and confirmed this is not a duplicate
Bug Description
dirac-pilot/Pilot/pilotTools.py
910: self.genericOption = ""
1209: self.genericOption = v
dirac-pilot/Pilot/pilotCommands.py
378: if "diracInstallOnly" in self.pp.genericOption:
400: if "cvmfsOnly" in self.pp.genericOption:
dirac/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
651: for genericOption in queueDict["GenericOptions"].split(","):
652: pilotOptions.append(f"-o {genericOption.strip()}")
From the code, it is clear that:
genericOption is meant to be given multiple times
but the parsing code only stores the last of the given -o options
Steps to Reproduce
No response
Expected Behavior
No response
Actual Behavior
No response
Environment
No response
Relevant Log Output
2026-08-25T13:18:36.258748Z DEBUG [PilotParams] Options list: [('-l', 'CTA'), ('-e', 'CTA'), ('-N', 'dirac-ce'), ('-Q', 'normal'), ('-n', 'CTAO.CI.de'), ('--wnVO', 'ctao.dpps.test'), ('-o', 'cvmfsOnly'), ('-o', '/LocalSite/SharedArea=/home/dirac'), ('--userEnvVariables', 'RUCIO_CONFIG:::/cvmfs/sw.ctao.dpps.test/rucio/etc/rucio.cfg'), ('--PollingTime', '10'), ('--CVMFS_locations', '/'), ('--pilotUUID', 'd8d38f28fe154c3bafb28ecf25b6aaa6')]
...
2026-08-25T13:18:36.273046Z INFO [InstallDIRAC] Evaluating env script /ctadirac/3.0.14/Linux-x86_64/diracosrc
/ctadirac/3.0.14/Linux-x86_64 not found
2026-08-25T13:18:36.273258Z ERROR [InstallDIRAC] Exception when trying to source the DIRAC environment: release not found
2026-08-25T13:18:36.273295Z WARN [InstallDIRAC] Source of the DIRAC environment NOT DONE: starting traditional DIRAC installation
2026-08-25T13:18:36.273318Z INFO [InstallDIRAC] Installing DIRAC locally
2026-08-25T13:18:36.273390Z INFO [InstallDIRAC] Executing command bash /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh 2>&1
bash: /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh: No such file or directory
2026-08-25T13:18:36.278817Z WARN [InstallDIRAC] Could not install DIRACOS from CVMFS [ERROR 127]
2026-08-25T13:18:39.078477Z INFO [InstallDIRAC] Executing command bash DIRACOS-Linux-x86_64.sh 2>&1
dirac/src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
654: if "SharedArea" in queueDict:
655: pilotOptions.append(f"-o '/LocalSite/SharedArea={queueDict['SharedArea']}'")
but the pilot does not seem to do anything with it?
Activity
maxnoe commentedon Aug 25, 2026
The other
-ooption comes from SiteDirector:but the pilot does not seem to do anything with it?
maxnoe commentedon Aug 27, 2026
Fixed in #285