ConfigHelper

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

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

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 or pilotGroup are specified, use them

Parameters
  • vo (str) – VO name

  • group (str) – group name

  • pilotDN (str) – pilot DN

  • pilotGroup (str) – pilot group

Returns

S_OK(tuple)/S_ERROR()