Bug #8264
closedNative scheduler doesn't handle 'du' command failure
0%
Description
Sometimes Native scheduler writes to console
Process Process-1:
Traceback (most recent call last):
File "/usr/lib64/python3.4/multiprocessing/process.py", line 254, in _bootstrap
self.run()
File "/usr/lib64/python3.4/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/alexey/klever/klever/scheduler/utils/__init__.py", line 288, in disk_controller
size = dir_size("./")
File "/home/alexey/klever/klever/scheduler/utils/__init__.py", line 224, in dir_size
return int(get_output('du -bs {} | cut -f1'.format(dir)))
ValueError: invalid literal for int() with base 10: "du: невозможно получить доступ к './klever-core-work-dir/lkbce/arch/x86/include/asm/linkage.h.lock': Нет такого файла или каталога\n4503272098"
Updated by Alexey Polushkin almost 7 years ago
- Status changed from New to Resolved
Resolved in branch 'fix_scheduler_warning'
Updated by Evgeny Novikov almost 7 years ago
- Subject changed from Native scheduler doesn't handle 'du' command failuer to Native scheduler doesn't handle 'du' command failure
Updated by Ilja Zakharov almost 7 years ago
- Status changed from Resolved to Verified
Merged in 34642f9b.
Updated by Ilja Zakharov almost 7 years ago
- Status changed from Verified to Closed
Updated by Evgeny Novikov over 6 years ago
- Status changed from Closed to Open
The issue likely still exists in master since I opened #8349.
Updated by Evgeny Novikov over 6 years ago
Updated by Ilja Zakharov over 6 years ago
- Status changed from Open to Resolved
Fixed in critical-fixes.
Updated by Evgeny Novikov over 6 years ago
- Priority changed from Urgent to Immediate
Indeed this can break everything unexpectedly, so, this definitely should be in the upcoming release.
Updated by Evgeny Novikov over 6 years ago
- Status changed from Resolved to Closed
I hope that the fixed fix works. So, I merged the branch to master in be75f4f9.