Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10445

Add the ability to Safely Shutdown / restart CloudStack

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidjumani David Jumani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: