From a2b93d5d8d371f90a4515936f5e15bc85fb14cea Mon Sep 17 00:00:00 2001 From: Andrei Tsaregorodtsev Date: Thu, 18 Jul 2024 11:48:29 +0200 Subject: [PATCH] feat: define properly the pilot reference in the cloud case, drop VMDIRAC case --- Pilot/pilotTools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pilot/pilotTools.py b/Pilot/pilotTools.py index fc066194..9aa23d06 100644 --- a/Pilot/pilotTools.py +++ b/Pilot/pilotTools.py @@ -329,10 +329,10 @@ def getSubmitterInfo(ceName): flavour = "ARC" pilotReference = os.environ["GRID_GLOBAL_JOBURL"] - # VMDIRAC case - if "VMDIRAC_VERSION" in os.environ: - flavour = "VMDIRAC" - pilotReference = "vm://" + ceName + "/" + os.environ["JOB_ID"] + # Cloud case + if "PILOT_UUID" in os.environ: + flavour = "CLOUD" + pilotReference = os.environ["PILOT_UUID"] return flavour, pilotReference, {"Type": batchSystemType, "JobID": batchSystemJobID, "Parameters": batchSystemParameters}