Actions
Bug #9289
closedNative Scheduler does not properly handle errors with tasks.json
Start date:
09/28/2018
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
After some bugs with tasks.json Native Scheduler decides to restart its operation rather than to fail a corresponding job:
root ERROR> An error occurred: Traceback (most recent call last): File "/home/novikov/work/klever/scheduler/bin/../schedulers/__init__.py", line 268, in launch self.__add_missing_restrictions(collection) File "/home/novikov/work/klever/scheduler/bin/../schedulers/__init__.py", line 514, in __add_missing_restrictions raise SchedulerException("Resource limitations are missing: upload filled tasks.json file and properly " schedulers.SchedulerException: Resource limitations are missing: upload filled tasks.json file and properly set job resource limitiations root INFO> Reinitialize scheduler and try to proceed execution in 30 seconds...
BTW, solving #9151 will not help always, as it will just guarantee that tasks.json is a valid JSON file, while it still can have incorrect semantics.
Updated by Evgeny Novikov about 6 years ago
- Related to Bug #9151: Bridge starts job even if job.json or tasks.json is invalid added
Updated by Evgeny Novikov about 6 years ago
- Status changed from Resolved to Closed
Branch klever-2.0 passed all tests and I merged it to master in 72be796e3 marked as v2.0rc1.
Actions