Merge lp:~le-chi-thu/lava-scheduler/loop-health-check-job into lp:lava-scheduler
Proposed by
Le Chi Thu
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | 170 |
Merged at revision: | 170 |
Proposed branch: | lp:~le-chi-thu/lava-scheduler/loop-health-check-job |
Merge into: | lp:lava-scheduler |
Diff against target: |
173 lines (+56/-20) 5 files modified
lava_scheduler_app/models.py (+15/-1) lava_scheduler_app/templates/lava_scheduler_app/_device_base.html (+5/-0) lava_scheduler_app/urls.py (+17/-14) lava_scheduler_app/views.py (+11/-0) lava_scheduler_daemon/dbjobsource.py (+8/-5) |
To merge this branch: | bzr merge lp:~le-chi-thu/lava-scheduler/loop-health-check-job |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle (community) | Approve | ||
Review via email: mp+107019@code.launchpad.net |
Description of the change
Added looping state for health check job. When in this state, the health check job will run forever. Admin should then put the device to maintaining mode to terminate the looping.
Scheduler device page is updated with a button to put the device into looping mode.
To post a comment you must log in.
Nice!
I'm not sure having the button on the page is really necessary -- I would have been happy to use the admin interface for this, I think -- but since it's done, it's nice to have indeed.