diff --git a/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py b/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py index 7d44190cb1..3537b83012 100644 --- a/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py +++ b/src/python/WMCore/MicroService/MSUnmerged/MSUnmerged.py @@ -317,6 +317,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) @@ -855,4 +858,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