Project

General

Profile

Actions

Bug #10677

closed

Users can easily ruin Native Scheduler by removing tasks.json

Added by Evgeny Novikov about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Scheduling
Target version:
Start date:
01/21/2021
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

In this case it stops to work and issues the following exception:

Traceback (most recent call last):
  File "/home/novikov/work/klever/venv/bin/klever-native-scheduler", line 11, in <module>
    load_entry_point('klever', 'console_scripts', 'klever-native-scheduler')()
  File "/home/novikov/work/klever/klever/scheduler/main.py", line 57, in native_scheduler
    scheduler_impl.launch()
  File "/home/novikov/work/klever/klever/scheduler/schedulers/__init__.py", line 188, in launch
    self.add_new_pending_job(identifier)
  File "/home/novikov/work/klever/klever/scheduler/schedulers/__init__.py", line 468, in add_new_pending_job
    job_conf['configuration']['task resource limits'] = job_conf['tasks']
KeyError: 'tasks'

Actions

Also available in: Atom PDF