[9.0] feat: Migrating pilot client toward DiracX#8233
[9.0] feat: Migrating pilot client toward DiracX#8233Robin-Van-de-Merghel wants to merge 3 commits intoDIRACGrid:integrationfrom
Conversation
eaffc28 to
796281d
Compare
796281d to
eb1d1c7
Compare
| gLogger.error(res["Message"]) | ||
| DIRACExit(1) | ||
| res = pmc.addPilotReferences([pilotRef], VO, gridType, {pilotRef: pilotStamp}) | ||
| res = pmc.addPilotReferences(pilotStamp, VO, gridType, {pilotStamp: pilotRef}) |
There was a problem hiding this comment.
Typo on the left : [pilotStamp]. But I reversed stamps and pilotRef to be consistent with DiracX changes.
There was a problem hiding this comment.
Please use named arguments instead of positional arguments.
tests/Integration/WorkloadManagementSystem/Test_PilotsClient.py
Outdated
Show resolved
Hide resolved
ce29434 to
e413b2b
Compare
e413b2b to
898be85
Compare
|
Issue with So, if a user calls |
I think it's fine. This functionality (storing the pilot output in a MySQL blob) is already borderline useful, and given that we are finally getting somewhere with the pilot logging in diracx, I am thinking it would be OK to remove it. If for the moment replying with an error is OK. |
a11a505 to
48e7ff6
Compare
8114684 to
2410060
Compare
9dba948 to
8ee384c
Compare
d3a37ac to
5af196f
Compare
| diracAdmin = DiracAdmin() | ||
| exitCode = 0 | ||
| errorList = [] | ||
| print("This command is not supported anymore with DIRAV V9.") |
There was a problem hiding this comment.
| print("This command is not supported anymore with DIRAV V9.") | |
| print("This command is not supported anymore with DIRAC V9.") |
|
|
||
| @classmethod | ||
| def export_deletePilots(cls, pilotIDs): | ||
| # Used by no one. We keep it for tests. |
There was a problem hiding this comment.
Nah, if it is not used just remove it.
BEGINRELEASENOTES
*PilotManager
CHANGE: Migrate pilot client toward DiracX
ENDRELEASENOTES