Skip to content

Commit ed56d47

Browse files
authored
Merge pull request #7179 from fstagni/81_fixes14
[8.1] hackathon fixes
2 parents 538ad38 + 0b4d508 commit ed56d47

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/SiteDirector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,6 @@ def _addPilotTQReference(self, queue, taskQueueDict, pilotList, stampDict):
842842
pilotsList,
843843
tqID,
844844
self.pilotGroup,
845-
self.localhost,
846845
self.queueDict[queue]["CEType"],
847846
stampDict,
848847
)

src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def export_addPilotTQReference(
7979
):
8080
"""Add a new pilot job reference"""
8181

82-
return cls.pilotAgentsDB.addPilotTQReference(pilotRef, taskQueueID, gridType, pilotStampDict)
82+
return cls.pilotAgentsDB.addPilotTQReference(pilotRef, taskQueueID, ownerGroup, gridType, pilotStampDict)
8383

8484
types_addPilotTQRef = [list, int, str]
8585

src/DIRAC/WorkloadManagementSystem/Service/WMSUtilities.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
""" A set of utilities used in the WMS services
22
Requires the Nordugrid ARC plugins. In particular : nordugrid-arc-python
33
"""
4-
from tempfile import mkdtemp
54
import shutil
5+
from tempfile import mkdtemp
66

7-
from DIRAC import S_OK, S_ERROR, gLogger, gConfig
8-
from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getQueue
7+
from DIRAC import S_ERROR, S_OK, gConfig, gLogger
8+
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
99
from DIRAC.ConfigurationSystem.Client.Helpers.Registry import (
1010
getDNForUsername,
1111
getGroupOption,
1212
getVOForGroup,
1313
)
14-
from DIRAC.ConfigurationSystem.Client.Helpers.Operations import Operations
14+
from DIRAC.ConfigurationSystem.Client.Helpers.Resources import getQueue
1515
from DIRAC.FrameworkSystem.Client.ProxyManagerClient import gProxyManager
1616
from DIRAC.FrameworkSystem.Client.TokenManagerClient import gTokenManager
1717
from DIRAC.Resources.Computing.ComputingElementFactory import ComputingElementFactory
1818
from DIRAC.WorkloadManagementSystem.Client.PilotScopes import PILOT_SCOPES
1919

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

0 commit comments

Comments
 (0)