Skip to content

Commit bb5842d

Browse files
committed
fix: ARC/AREX status when the job has been removed from the system
1 parent 0b037c8 commit bb5842d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DIRAC/Resources/Computing/ARCComputingElement.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
MANDATORY_PARAMETERS = ["Queue"] # Mandatory for ARC CEs in GLUE2?
6464
# See https://www.nordugrid.org/arc/arc6/tech/rest/rest.html#rest-interface-job-states
6565
# We let "Deleted, Hold, Undefined" for the moment as we are not sure whether they are still used
66+
# "None" is a special case: it is returned when the job ID is not found in the system
6667
STATES_MAP = {
6768
"Accepting": PilotStatus.WAITING,
6869
"Accepted": PilotStatus.WAITING,
@@ -83,6 +84,7 @@
8384
"Wiped": PilotStatus.ABORTED,
8485
"Deleted": PilotStatus.ABORTED,
8586
"Hold": PilotStatus.FAILED,
87+
"None": PilotStatus.ABORTED,
8688
"Undefined": PilotStatus.UNKNOWN,
8789
}
8890

0 commit comments

Comments
 (0)