Job cancellation in lava-scheduler

Registered by Paul Larson on 2011-07-28

Job cancellation in lava-scheduler.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
High
Drafter:
Paul Larson
Direction:
Needs approval
Assignee:
Michael Hudson-Doyle
Definition:
Approved
Series goal:
Accepted for linaro-11.11
Implementation:
Implemented
Milestone target:
milestone icon 2011.09
Started by
Michael Hudson-Doyle on 2011-08-19
Completed by
Michael Hudson-Doyle on 2011-08-30

Related branches

Sprints

Whiteboard

Headline: Jobs can be cancelled from the scheduler UI or CLI

Acceptance:
1. lava-scheduler-tool can be used to cancel a job submitted, but not running submitted by the authenticated user, or an admin
2. lava-scheduler-tool can be used to cancel a running job submitted by the authenticated user, or an admin
3. web ui can be used to cancel a job submitted, but not running submitted by the authenticated user, or an admin
4. web ui can be used to cancel a running job submitted by the authenticated user, or an admin

(?)

Work Items

Work items:
Add API to cancel a job: DONE
Add a cancel button in the web ui for jobs submitted by the authenticated user, or those with sufficient privileges: DONE
Add a command in lava-tool to cancel a running job: DONE
Have the intermediate process scan job status periodically and kill the dispatcher when a running job is canceled: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.