davidjumani opened a new pull request, #6755: URL: https://github.com/apache/cloudstack/pull/6755
### Description Adds the feature to safely shutdown CloudStack It does the following : - Prevents new Async jobs from being added - Waits for existing jobs to finish before shutting down Contains 4 new apis : - TriggerShutdown - Prevents new jobs and shuts down once all pending jobs are completed - ReadyForShutdown - Returns whether a shutdown has been triggered and the no of pending jobs - PrepareForShutdown - Prevents new jobs from being added but does not shutdown when there are zero pending jobs : Useful when admin changes are required in ACS which can impact operations - CancelShutdown - Cancel a shutdown if possible ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) #### Feature/Enhancement Scale - [ ] Major - [x] Minor ### Screenshots (if appropriate):  ### How Has This Been Tested? TODO -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
