Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-44717

Need a disk full threshold to stop queue

    Details

    • Similar Issues:

      Description

      We need a disk full threshold on the master that can stop the queue.

      It is all too easy for a Jenkins deployment to fill up disk space on the master and have jobs fail or get stuck in unpredictable ways.  The jobs keep coming, making matters worse, and require human time to investigate.

      We already have a threshold that will take slaves offline, and it appears there is an advisory that will pop up an alert on the admin console if the master is low on disk space, but we also need an emergency action when storage is critical.

      Please add an option for a disk space threshold that will stop the Jenkins queue when storage on the master is critical.

        Attachments

          Issue Links

            Activity

            Hide
            wgc123 D Pasto added a comment -

            It looks like this was considered and rejected three years ago in JENKINS-7126 - can we revisit?

            Show
            wgc123 D Pasto added a comment - It looks like this was considered and rejected three years ago in  JENKINS-7126  - can we revisit?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            D Pasto of course we can reopen it.

            But generally it requires a person who is ready to dedicate hist time for implementing such fix. In this case it can be actually done in a plugin (e.g. by extending http://javadoc.jenkins.io/hudson/model/Queue.QueueDecisionHandler.html ), hence it does not require so much Jenkins developer experience. If you are ready to contribute, I can provide on-demand code reviews.

            Show
            oleg_nenashev Oleg Nenashev added a comment - D Pasto of course we can reopen it. But generally it requires a person who is ready to dedicate hist time for implementing such fix. In this case it can be actually done in a plugin (e.g. by extending http://javadoc.jenkins.io/hudson/model/Queue.QueueDecisionHandler.html ), hence it does not require so much Jenkins developer experience. If you are ready to contribute, I can provide on-demand code reviews.
            Hide
            abhyudaya Abhyudaya Sharma added a comment -

            Hi! I have created a plugin which solves this issue. https://github.com/AbhyudayaSharma/disk-threshold-plugin . Oleg Nenashev Could you please provide a review?

            Show
            abhyudaya Abhyudaya Sharma added a comment - Hi! I have created a plugin which solves this issue.  https://github.com/AbhyudayaSharma/disk-threshold-plugin . Oleg Nenashev Could you please provide a review?

              People

              • Assignee:
                abhyudaya Abhyudaya Sharma
                Reporter:
                wgc123 D Pasto
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: