Pilot manager handler simplifications - #8624
Conversation
d51a5b2 to
e5aa050
Compare
|
e5aa050 to
1e804d8
Compare
|
Checking the BelleDIRAC code following the question at the last Dops+Ddev meeting, we don't have any extension of PilotManagerHandler nor PilotAgentsDB, but I see some RPC calls with |
That has been moved to DB-only call, no need to go through the RPC. |
7a863b7 to
a3c9ac4
Compare
|
Some info related to the removal of
This puts for the moment a halt on the attempt to simply remove the DIRAC functionality. |
67ca2ee to
efb2294
Compare
Functionality restored. |
efb2294 to
6747469
Compare
Would it work not only in the system-side use cases, but also in client use cases? I was expecting a Belle II colleague to ask this question with more details, but I don't see any yet, so I put my comment here after ~3 weeks. |
Were you using |
|
Hi @aldbr. Sorry for jumping in late in the discussion. Yes, we provide a diagnostic tool to users to collect information about the operation status, particularly relevant when they have been waiting for jobs to be pulled by a pilot for a long time. The tool retrieves the Sites by the optimizer from the JDL (determined at optimization), and uses information from the pilot summary to check if pilots have been running in the site(s) at all, like: dirac_rpc = RPCClient('WorkloadManagement/PilotManager')
fromm = datetime.utcnow() - timedelta(days=1)
to = datetime.utcnow()
conddict = {'Site': sites, 'FromDate': fromm , 'ToDate': to}
result = dirac_rpc.getGroupedPilotSummary(conddict,['GridSite'])This is executed on the client. With the change in this PR, we need to reconsider how to retrieve pilot statistics from the client. If available in the |
|
Hi @michmx , I added Let me know if this is OK for you. Cheers, |
|
Yes, this is a simple change on our side. Thanks a lot! |
First part for #8597
BEGINRELEASENOTES
*WMS
CHANGE: Removed several RPCs and DB calls for PilotManager
ENDRELEASENOTES