Skip to content
Snippets Groups Projects
Commit 126c535a authored by Fabrice Le Goff's avatar Fabrice Le Goff
Browse files

added: critical log for eos quota exceeded

parent c16b285a
No related branches found
No related tags found
No related merge requests found
Pipeline #4186772 passed
...@@ -319,6 +319,12 @@ class CopyThread(threading.Thread): ...@@ -319,6 +319,12 @@ class CopyThread(threading.Thread):
self.logger.warning('transfer failure: %s; reason: %s; retries: %d/%d', self.logger.warning('transfer failure: %s; reason: %s; retries: %d/%d',
filename, reason, transfer.retry, self.conf.MaxCopyImmediateRetry) filename, reason, transfer.retry, self.conf.MaxCopyImmediateRetry)
# early notification of humans for known issues that require their intervention
# critical log usually means email (good for getting human attention)
if 'disk quota exceeded' in reason.lower():
self.logger.critical('no space left in remote directory: %s',
transfer.file_info.remote_dir)
if transfer.retry < self.conf.MaxCopyImmediateRetry: if transfer.retry < self.conf.MaxCopyImmediateRetry:
self.simple_transfer_failures += 1 self.simple_transfer_failures += 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment