Project

General

Profile

Actions

Bug #10677

closed

Users can easily ruin Native Scheduler by removing tasks.json

Added by Evgeny Novikov almost 4 years ago. Updated over 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 #1

Updated by Evgeny Novikov almost 4 years 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.

Actions #2

Updated by Ilja Zakharov almost 4 years ago

Fixed in bugfix-10677

Actions #3

Updated by Ilja Zakharov almost 4 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Evgeny Novikov over 3 years 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.

Actions

Also available in: Atom PDF