Multiple health check jobs started for devices

Bug #1262794 reported by Senthil Kumaran S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Server
Fix Released
Critical
Senthil Kumaran S

Bug Description

When a device comes from offline to online state, there are multiple health check jobs started for the device.

When forcing a health check job irrespective of whether there is a health check job already scheduled, a new job gets created, which is also a cause of creating multiple health jobs and running them at the same time by the scheduler.

Revision history for this message
Senthil Kumaran S (stylesen) wrote :

Fix available for review - https://review.linaro.org/#/c/772/

Changed in lava-server:
status: New → In Progress
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

New fix available for review here - https://review.linaro.org/#/c/786/

Changed in lava-server:
status: In Progress → Fix Committed
Changed in lava-server:
status: Fix Committed → Fix Released
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

This popped up again, since the patch was removed from dbjobsource.py during the scheduler stabilization effort.

Changed in lava-server:
milestone: none → 2014.01
status: Fix Released → In Progress
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

New patch available here for review - https://review.linaro.org/#/c/1000/

Revision history for this message
Senthil Kumaran S (stylesen) wrote :

In order to reproduce this issue, take 3 or more devices offline. After sometime (1 minute) take all the offlined devices online at one shot with the help of admin pages. There must be more than one health check job created for some devices as time passes by.

Revision history for this message
Senthil Kumaran S (stylesen) wrote :
Changed in lava-server:
status: In Progress → Fix Committed
Changed in lava-server:
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.