Skip to content

Commit ca4dfb3

Browse files
committed
fix: even more setup removals
1 parent 6997c75 commit ca4dfb3

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

docs/source/AdministratorGuide/Systems/WorkloadManagement/Pilots/index.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ A simple example using the LHCbPilot extension follows::
215215
DIRAC_SITE="${i#*=}"
216216
shift
217217
;;
218-
--lhcb-setup=*)
219-
LHCBDIRAC_SETUP="${i#*=}"
220-
shift
221-
;;
222218
--ce-name=*)
223219
CE_NAME="${i#*=}"
224220
shift
@@ -237,8 +233,6 @@ A simple example using the LHCbPilot extension follows::
237233
esac
238234
done
239235

240-
# Default if not given explicitly
241-
LHCBDIRAC_SETUP=${LHCBDIRAC_SETUP:-LHCb-Production}
242236

243237
# JOB_ID is used by when reporting LocalJobID by DIRAC watchdog
244238
#export JOB_ID="$VMTYPE:$VM_UUID"
@@ -270,7 +264,6 @@ A simple example using the LHCbPilot extension follows::
270264

271265
#run the dirac-pilot script
272266
python dirac-pilot.py \
273-
--setup $LHCBDIRAC_SETUP \
274267
--project LHCb \
275268
--Name "$CE_NAME" \
276269
--name "$1" \

src/DIRAC/MonitoringSystem/Service/MonitoringHandler.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ def initializeHandler(cls, serviceInfo):
7171
return S_ERROR(f"Data location is not writable: {repr(err)}")
7272
gDataCache.setGraphsLocation(dataPath)
7373

74-
cls.diracSetup = CSGlobals.getSetup().lower()
75-
7674
return S_OK()
7775

7876
types_listUniqueKeyValues = [str]
@@ -277,7 +275,6 @@ def export_addRecords(self, indexname, monitoringType, data):
277275
:param list data: data to insert
278276
:returns: S_OK or S_ERROR
279277
"""
280-
indexname = f"{self.diracSetup.lower()}_{indexname}"
281278
gLogger.debug("Bulk index:", indexname)
282279
mapping = self.__db.getMapping(monitoringType)
283280
gLogger.debug("Mapping:", mapping)
@@ -292,7 +289,6 @@ def export_deleteIndex(self, indexName):
292289
293290
:param str indexName: name of the index
294291
"""
295-
indexName = f"{self.diracSetup.lower()}_{indexName}"
296292
gLogger.debug("delete index:", indexName)
297293
return self.__db.deleteIndex(indexName)
298294

tests/CI/install_client.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ echo -e "*** $(date -u) **** Got the DIRAC tests ****\n"
5151

5252
source "${DIRAC_CI_SETUP_SCRIPT}"
5353
# shellcheck disable=SC2034
54-
DIRACSETUP=$(< "${INSTALL_CFG_FILE}" grep "Setup = " | cut -f5 -d " ")
5554

5655
echo -e "*** $(date -u) **** Client INSTALLATION START ****\n"
5756

0 commit comments

Comments
 (0)