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.
Actions