diff --git a/Pilot/pilotTools.py b/Pilot/pilotTools.py index c2e2864b..8352514a 100644 --- a/Pilot/pilotTools.py +++ b/Pilot/pilotTools.py @@ -1278,7 +1278,8 @@ def __initJSON2(self): self.releaseProject = pilotOptions.get("Project", self.releaseProject) # default from the code. self.log.debug("Release project: %s" % self.releaseProject) - self.CVMFS_locations = pilotOptions.get("CVMFS_locations", self.CVMFS_locations) # default from the code. + if "CVMFS_locations" in pilotOptions: + self.CVMFS_locations = pilotOptions["CVMFS_locations"].replace(" ", "").split(",") self.log.debug("CVMFS locations: %s" % self.CVMFS_locations) diff --git a/tests/CI/pilot_newSchema.json b/tests/CI/pilot_newSchema.json index ebf25331..50acbf25 100644 --- a/tests/CI/pilot_newSchema.json +++ b/tests/CI/pilot_newSchema.json @@ -113,7 +113,7 @@ "RemoteLoggerTimerInterval": 0, "LoggingShifterName": "GridPPLogManager", "PilotLogLevel": "DEBUG", - "CVMFS_locations": ["/cvmfs/grid.cern.ch", "/cvmfs/dirac.egi.eu"] + "CVMFS_locations": "/cvmfs/grid.cern.ch, /cvmfs/dirac.egi.eu" } }, "dteam": { @@ -130,7 +130,7 @@ "RemoteLoggerURL": "https://lbcertifdirac70.cern.ch:8443/WorkloadManagement/TornadoPilotLogging", "RemoteLoggerTimerInterval": 0, "PilotLogLevel": "DEBUG", - "CVMFS_locations": ["/cvmfs/grid.cern.ch", "/cvmfs/dirac.egi.eu"] + "CVMFS_locations": "/cvmfs/grid.cern.ch, /cvmfs/dirac.egi.eu" } }, "LHCb": { @@ -143,7 +143,7 @@ "RemoteLogging": "False", "RemoteLoggerTimerInterval": 0, "PilotLogLevel": "DEBUG", - "CVMFS_locations": ["/cvmfs/lhcb.cern.ch/", "$VO_LHCB_SW_DIR"] + "CVMFS_locations": "/cvmfs/lhcb.cern.ch/, $VO_LHCB_SW_DIR" } }, "ConfigurationServers": [