Skip to content

Commit

Permalink
Merge pull request #7179 from fstagni/81_fixes14
Browse files Browse the repository at this point in the history
[8.1] hackathon fixes
  • Loading branch information
fstagni authored Aug 29, 2023
2 parents 538ad38 + 0b4d508 commit ed56d47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,6 @@ def _addPilotTQReference(self, queue, taskQueueDict, pilotList, stampDict):
pilotsList,
tqID,
self.pilotGroup,
self.localhost,
self.queueDict[queue]["CEType"],
stampDict,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def export_addPilotTQReference(
):
"""Add a new pilot job reference"""

return cls.pilotAgentsDB.addPilotTQReference(pilotRef, taskQueueID, gridType, pilotStampDict)
return cls.pilotAgentsDB.addPilotTQReference(pilotRef, taskQueueID, ownerGroup, gridType, pilotStampDict)

types_addPilotTQRef = [list, int, str]

Expand Down
9 changes: 4 additions & 5 deletions src/DIRAC/WorkloadManagementSystem/Service/WMSUtilities.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
""" A set of utilities used in the WMS services
Requires the Nordugrid ARC plugins. In particular : nordugrid-arc-python
"""
from tempfile import mkdtemp
import shutil
from tempfile import mkdtemp

from DIRAC import S_OK, S_ERROR, gLogger, gConfig
from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getQueue
from DIRAC import S_ERROR, S_OK, gConfig, gLogger
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
from DIRAC.ConfigurationSystem.Client.Helpers.Registry import (
getDNForUsername,
getGroupOption,
getVOForGroup,
)
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getQueue
from DIRAC.FrameworkSystem.Client.ProxyManagerClient import gProxyManager
from DIRAC.FrameworkSystem.Client.TokenManagerClient import gTokenManager
from DIRAC.Resources.Computing.ComputingElementFactory import ComputingElementFactory
from DIRAC.WorkloadManagementSystem.Client.PilotScopes import PILOT_SCOPES


# List of files to be inserted/retrieved into/from pilot Output Sandbox
# first will be defined as StdOut in JDL and the second as StdErr
outputSandboxFiles = ["StdOut", "StdErr"]
Expand Down

0 comments on commit ed56d47

Please sign in to comment.