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

nodes are launched even when in shutdown mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      jenkins 2.121.1, running on Debian stretch. Linux nodes.
    • Similar Issues:

      Description

      This instance of jenkins I'm running has a bunch of remote nodes that are configured to be launched on demand and taken offline when no jobs are using them.
      I also have some recurring jobs that are attached to specific nodes.

      I noticed that when I put jenkins in quietDown mode, and then those jobs tied to remote nodes are triggered, jenkins still launches the agent and keep the node online, even if it's not going to actually start the jobs due to being in quietDown.

      IMHO, slaves that are configured to stay down until requested shouldn't be started when in quietDown, but rather brought up once quietDown has been cancelled.

        Attachments

          Activity

          Hide
          bkmeneguello Bruno Meneguello added a comment - - edited

          I think the Jenkins.getInstance().isQuietingDown() status should be checked here NodeProvisioner.java#L302 to avoid provisioning new slaves.

          Show
          bkmeneguello Bruno Meneguello added a comment - - edited I think the Jenkins.getInstance().isQuietingDown() status should be checked here NodeProvisioner.java#L302 to avoid provisioning new slaves.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mapreri Mattia Rizzolo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: