submitting a multinode job for a device_type with no boards fails

Bug #1224261 reported by Michael Hudson-Doyle on 2013-09-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Scheduler (deprecated)
Fix Released
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) on 2013-10-18
Changed in lava-scheduler:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers