ConfigHelper

A set of utilities for getting configuration information for the WMS components

DIRAC.WorkloadManagementSystem.private.ConfigHelper.findGenericPilotCredentials(vo=False, pilotDN='')

Looks into the Operations/<>/Pilot section of CS to find the pilot credentials. Then check if the user has a registered proxy in ProxyManager.

if pilotDN are specified, use them

Parameters:
  • vo (str) – VO name

  • pilotDN (str) – pilot DN

Returns:

S_OK(tuple)/S_ERROR()