Suresh Kumar Anaparti created CLOUDSTACK-10452:
--------------------------------------------------

             Summary: GSoC 2022 Idea: Report / Manage the VM jobs in CloudStack
                 Key: CLOUDSTACK-10452
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10452
             Project: CloudStack
          Issue Type: Improvement
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Suresh Kumar Anaparti


h2. Background

CloudStack allows users/operators to perform various operations on the Virtual 
Machines (VMs). When multiple operations are performed on a VM at the same 
time, these operations are maintained and sync-ed using the sync queues. Any 
long running job (eg. volume snapshot) of a VM keeps other jobs in 
waiting/pending state, and only be picked once the active job is finished. 
Currently, it is not possible for an operator to list the pending jobs on a VM, 
cancel or re-prioritise any job if needed.
h2. Requirement

Provision to admin/operator, to the list the pending jobs of a VM, cancel or 
re-prioritise a job if needed. Also, allow to clear all the pending jobs of a 
VM.

Add API (and/or UI) support to
 * List the active jobs for a VM
 * List all the pending jobs of a VM (in queue, by their order of execution)
 * Re-prioritise a job from the pending jobs (if possible)
 * Cancel any job from the pending jobs
 * Clear all the pending jobs of a VM

h2. Relevant Skills
 * Java, MySQL
 * Vue.js (for UI)
 * Some knowledge of CloudStack and its Job framework

h2. Difficulty

Medium
h2. Potential Mentors
 * Suresh Kumar Anaparti
 * Any Developer from CS Community

h2. Project Scope/Duration

Large / 350hrs (can be Medium / 175 hours - with reduced scope of API/UI work)
h2. References
 * 
[http://docs.cloudstack.apache.org/en/latest/adminguide/index.html#working-with-virtual-machines]
 * 
[https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+-+VMSync+improvement]
 * 
[https://cwiki.apache.org/confluence/display/CLOUDSTACK/Snapshot+throttling+FS]
 * [https://cloudstack.apache.org/api/apidocs-4.16/]

h2. Future Extensions

This can be extended for other resources (hosts, primary storage, network, etc).
[APIs should take resource type as a param for generic implementation]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to