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

Master stays offline if once low disk space occured

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • remoting
    • None

      After deleting files or/and decreasing DiskSpace variables Jenkins master
      stays offline!
      The offline information is permanently stored in config.xml in jenkins
      install dir.
      It's like
      <temporaryOfflineCause
      class="hudson.node_monitors.DiskSpaceMonitorDescriptor$DiskSpace">
      <size>1011720192</size>
      <triggered>true</triggered>
      </temporaryOfflineCause>
      <disabledAdministrativeMonitors>
      <string>hudson.node_monitors.MonitorMarkedNodeOffline</string>
      </disabledAdministrativeMonitors>
      ...
      Delete those lines from the file an start jenkins again, everything is fine!

          [JENKINS-12882] Master stays offline if once low disk space occured

          This bug (and also the above procedure) still happens in Jenkins 1.460.
          I tested in a Debian testing 64-bit with jenkins packages from jenkins website.

          Leandro Santiago added a comment - This bug (and also the above procedure) still happens in Jenkins 1.460. I tested in a Debian testing 64-bit with jenkins packages from jenkins website.

          Marc Günther added a comment - - edited

          This is a duplicate of JENKINS-2548.

          BTW, the problem is not that the temporaryOfflineCause is stored in the config.xml (which is correct, as it should survive a restart), but that the DiskSpaceMonitor never takes the slave back online. To bring the slave back online, simply press the "This node is back online" button of the slave.

          Marc Günther added a comment - - edited This is a duplicate of JENKINS-2548 . BTW, the problem is not that the temporaryOfflineCause is stored in the config.xml (which is correct, as it should survive a restart), but that the DiskSpaceMonitor never takes the slave back online. To bring the slave back online, simply press the "This node is back online" button of the slave.

          Marc Günther added a comment -

          Marc Günther added a comment - Fixed by pull request 514: https://github.com/jenkinsci/jenkins/pull/514

            Unassigned Unassigned
            hoppej Jan Hoppe
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: