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

built-in-node-migration-regression There are no nodes with the label 'master'

    XMLWordPrintable

Details

    Description

      After applying the built-in-node-migration described in https://www.jenkins.io/doc/book/managing/built-in-node-migration/

      jenkins jobs of type Job Generator do not execute. The are pending for execution with the message 

      (pending—There are no nodes with the label 'master')

      If I add the label master to the built-in node configuration, the jenkins jobs of type Job Generator do not execute but the message changes to:

       

      (pending—Waiting for next available executor on ‘builtin’)

      even if there are free executors available, the jobs are always pending and do not execute

      Attachments

        Activity

          em_boehm Eric Boehm added a comment -

          FWIW, I found a workaround to this problem. I created a node called 'master' on the Jenkins master.

          Generator jobs now work without updating the plugin. It appears the plugin really wants the node name to be 'master' and the label 'master' isn't quite enough.
          I have not explored the plugin to see why this occurs.

          You may need to adjust the number of executors in 'Built-in Node' and 'master' since you now have two nodes on the same machine.

          em_boehm Eric Boehm added a comment - FWIW, I found a workaround to this problem. I created a node called 'master' on the Jenkins master. Generator jobs now work without updating the plugin. It appears the plugin really wants the node name to be 'master' and the label 'master' isn't quite enough. I have not explored the plugin to see why this occurs. You may need to adjust the number of executors in 'Built-in Node' and 'master' since you now have two nodes on the same machine.
          markewaite Mark Waite added a comment - - edited

          Job generator plugin was last released 8 years ago. The last commit to the repository was also 8 years ago. Probably best to convert your jobs to use Jenkins Pipeline.

          If the plugin is crucial to you, you could adopt the plugin, modify it to support the current Jenkins versions, and release a new version. The "Contributing to Open Source" workshop may be helpful, including the 5 part video series.

          The plugin also contains a known security vulnerability. Really best to convert your jobs to use Jenkins Pipeline.

          markewaite Mark Waite added a comment - - edited Job generator plugin was last released 8 years ago. The last commit to the repository was also 8 years ago. Probably best to convert your jobs to use Jenkins Pipeline. If the plugin is crucial to you, you could adopt the plugin, modify it to support the current Jenkins versions, and release a new version. The "Contributing to Open Source" workshop may be helpful, including the 5 part video series. The plugin also contains a known security vulnerability. Really best to convert your jobs to use Jenkins Pipeline.

          People

            Unassigned Unassigned
            jenkins_upv jenkins upv
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: