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

"master is offline" preventing Pipeline from executing

    XMLWordPrintable

Details

    Description

      Our own Jenkins Pipeline projects seem to be getting stuck in this state of "master is offline" when attempting to run on our clusters which have zero executors assigned to the master node.

      It's unclear what, past a service restart, will clear this up

      Steps to reproduce:

      1. Start a pipeline job
      2. forcing the master to run out of storage
      3. shutdown master, clear up storage
      4. restart master, confirm it's up
      5. observe that it is still marked as offline for a long time. 30+ minutes

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

            jglick What's the bug? That the node monitors work? That flyweight tasks don't run on marked-offline nodes?

            danielbeck Daniel Beck added a comment - jglick What's the bug? That the node monitors work? That flyweight tasks don't run on marked-offline nodes?
            jglick Jesse Glick added a comment -

            I guess that the master node should be displayed when it is offline.

            jglick Jesse Glick added a comment - I guess that the master node should be displayed when it is offline.

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/resources/lib/hudson/executors.jelly
            http://jenkins-ci.org/commit/jenkins/b67a30f8daff936c91fd54b90bef6c366707a8f1
            Log:
            Merge pull request #3294 from dwnusbaum/JENKINS-34712

            JENKINS-34712 Always show the master node when it is offline

            Compare: https://github.com/jenkinsci/jenkins/compare/5c8cc45900bf...b67a30f8daff

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/resources/lib/hudson/executors.jelly http://jenkins-ci.org/commit/jenkins/b67a30f8daff936c91fd54b90bef6c366707a8f1 Log: Merge pull request #3294 from dwnusbaum/ JENKINS-34712 JENKINS-34712 Always show the master node when it is offline Compare: https://github.com/jenkinsci/jenkins/compare/5c8cc45900bf...b67a30f8daff
            danielbeck Daniel Beck added a comment -

            Released in 2.108.

            danielbeck Daniel Beck added a comment - Released in 2.108.

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            core/src/main/resources/lib/hudson/executors.jelly
            http://jenkins-ci.org/commit/jenkins/20d44c5aa750f6fece96f83f0f7ed519e9df2e54
            Log:
            Merge pull request #3294 from dwnusbaum/JENKINS-34712

            JENKINS-34712 Always show the master node when it is offline

            (cherry picked from commit b67a30f8daff936c91fd54b90bef6c366707a8f1)

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/resources/lib/hudson/executors.jelly http://jenkins-ci.org/commit/jenkins/20d44c5aa750f6fece96f83f0f7ed519e9df2e54 Log: Merge pull request #3294 from dwnusbaum/ JENKINS-34712 JENKINS-34712 Always show the master node when it is offline (cherry picked from commit b67a30f8daff936c91fd54b90bef6c366707a8f1)

            People

              dnusbaum Devin Nusbaum
              rtyler R. Tyler Croy
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: