diff --git a/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py b/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py index c372ab38fb..d8752557aa 100644 --- a/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py +++ b/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py @@ -318,6 +318,9 @@ def cleanRSE(self, rse): rse['dirs']['deletedSuccess'] = set() rse['dirs']['deletedFail'] = set() self.logger.info("Start cleaning files for RSE: %s.", rse['name']) + import json + with open("/data/srv/current/vienna.json", "w") as jo: + json.dump(list(rse['dirs']['toDelete']), jo, indent=2, sort_keys=True) if not rse['dirs']['toDelete']: self.logger.info("There is nothing to delete for RSE: %s.", rse['name']) rse['isClean'] = self._checkClean(rse) @@ -856,4 +859,4 @@ def getRSEList(self): msg = "Unknown exception while trying to fetch the initial list of RSEs to work on. Err: %s" self.logger.exception(msg, str(ex)) rseList = [] - return rseList + return ["T2_AT_Vienna"] # rseList