-
Notifications
You must be signed in to change notification settings - Fork 183
[9.0] feat: Migrating pilot client toward DiracX #8233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: integration
Are you sure you want to change the base?
[9.0] feat: Migrating pilot client toward DiracX #8233
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it breaking things?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo on the left : [pilotStamp]
. But I reversed stamps
and pilotRef
to be consistent with DiracX changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, if it is not used just remove it.
BEGINRELEASENOTES
*PilotManager
CHANGE: Migrate pilot client toward DiracX
ENDRELEASENOTES