split_multi_job makes assumptions about the job JSON that are not enforced by the schema

Bug #1224260 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Scheduler (deprecated)
Fix Released
High
Senthil Kumaran S

Bug Description

In particular:

 1) an element of the device_groups list is assumed to have tags
 2) the job is assumed to have a logging_level key

(there may be other bits too).

The consequence of this is that submitting a job that fails either of these assumptions just 500s, rather than getting an informative message. Either (a) the scheme needs to be tighter or (b) split_multi_job needs to be more forgiving (and (b) is the correct choice here :-))

Related branches

description: updated
Changed in lava-scheduler:
assignee: nobody → Senthil Kumaran S (stylesen)
importance: Undecided → Medium
importance: Medium → High
status: New → In Progress
Changed in lava-scheduler:
status: In Progress → Fix Committed
Dave Pigott (dpigott)
Changed in lava-scheduler:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.