submitting a multinode job for a device_type with no boards fails

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

Bug Description

These lines:

                raise DevicesUnavailableException(
                    "Requested %d %s device(s) - only %d available." % (count, board, all_devices[board]))

in check_device_availability assume that board is present in all_devices. It isn't, necessarily. s/[board]/.get(board,0)/ maybe?

Related branches

Changed in lava-scheduler:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Senthil Kumaran S (stylesen)
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.