apache / apache/cloudstack

Support Bulk Operation for Instance Lifecycle

Open
#9,041 4 comments 2 reactions 0 assignees View on GitHub
type:new-feature
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE

* Feature Idea

##### COMPONENT NAME

~~~
Instance Lifecycle
~~~

##### CLOUDSTACK VERSION

~~~
N/A
~~~

##### CONFIGURATION

##### OS / ENVIRONMENT

##### SUMMARY

As an Admin, if i have a need to use Instance Lifecycle Operations, 95% of the time, it is for a group of VMs with similar natures.

Right now, the implementation of the 'Schedule Lifecycle Operations' feature is done on a per vm basis.

This means, user needs to go to each VM individually, and configure a scheduler. In this case, if i have 100 VMs that needs to have a scheduled restart, id have to manually configure it 100 times, the same settings.

Its because of this, i personally use Ansible + Semaphore with a cron job to achieve this, and not the schedule feature in cloudstack.

As a feature request, i would like to request to enhance VMs in a 'Instance Group' to be allowed to share the same scheduled job. That way, as a user, it would be much more easier to use, manage and troubleshoot.

##### STEPS TO REPRODUCE

~~~
None
~~~

##### EXPECTED RESULTS

~~~
Able to Bulk Operate a VM Schedule job using Instance Groups
~~~

##### ACTUAL RESULTS

~~~
User needs to go to each VM individually, and configure a scheduler
~~~

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing CloudStack's existing Schedule Lifecycle Operations and Instance Group behavior, then determine how a shared scheduled job should be represented and managed; done means an Instance Group can bulk-operate one VM schedule job.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.