[ https://issues.apache.org/jira/browse/CLOUDSTACK-10445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jumani updated CLOUDSTACK-10445: -------------------------------------- Labels: gsoc2022 mentor (was: gsoc2021 mentor) > Add the ability to Safely Shutdown / restart CloudStack > ------------------------------------------------------- > > Key: CLOUDSTACK-10445 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10445 > Project: CloudStack > Issue Type: Improvement > Reporter: David Jumani > Priority: Major > Labels: gsoc2022, mentor > > Shutting down / Restarting Cloudstack is a necessary step in upgrades, system > maintenance, etc. As of now, there is no way to safely shutdown or restart > CloudStack. It is directly terminated via systemd. Since this is the case, > any asyncronous job or background task is abrubptly terminated and can fail. > As of now, CloudStack maintains a list of asynchronous jobs wihtin it's > database along with their status. > This idea aims to provide a way to safely shutdown CloudStack. It involves > two parts : > * Prevent new asynchronous jobs from being added to CloudStack when a safe > shutdown is triggered > * Check the status of the async jobs and Shut down CloudStack when all the > jobs have been completed > > Provide the ability to safely shutdown CloudStack > Add API (and/or UI) support to : > * Trigger a safe shutdown > * (Optional) Support restarts > * (Optional) Support a forced shutdown when CloudStack will quit even if > there are async jobs running > > Duration > * Some Experience : 175 hours > * Newbie : 350 hours > > Potential Mentors > - David Jumani > > References > * https://github.com/apache/cloudstack/issues/6021 > -- This message was sent by Atlassian Jira (v8.20.1#820001)