Project

General

Profile

Bug #10677

Users can easily ruin Native Scheduler by removing tasks.json

Added by Evgeny Novikov 3 months ago. Updated 18 days 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'

#1

Updated by Evgeny Novikov about 2 months ago

  • Target version changed from 3.1 to 3.2

We need to release Klever 3.1 faster due to an incompatibility with Clade 3.3+ and a new OpenStack cloud.

#2

Updated by Ilja Zakharov about 1 month ago

Fixed in bugfix-10677

#3

Updated by Ilja Zakharov about 1 month ago

  • Status changed from New to Resolved
#4

Updated by Evgeny Novikov 18 days ago

  • Status changed from Resolved to Closed

It works, so, I merged the branch to master in c98cb0743. This is not so important to backport it to stable branches.

Also available in: Atom PDF