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

Suspended agents do not start accepting tasks when policy changed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • 2.439

      If SimpleScheduledRetentionStrategy is used, the agent is regularly put to suspended state with setAcceptingTasks(false) according to schedule. If the policy is changed while the agent is suspended, suspended flag retain intact and the agent can't be used.

          [JENKINS-11889] Suspended agents do not start accepting tasks when policy changed

          Vitalii Tymchyshyn created issue -
          Daniel Beck made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: slave-status [ 15981 ]
          Andrew Barber made changes -
          Attachment New: screenshot-1.png [ 31815 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142132 ] New: JNJira + In-Review [ 175623 ]
          Markus Winter made changes -
          Link New: This issue relates to JENKINS-72370 [ JENKINS-72370 ]
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Summary Original: Suspended slave do not start accepting tasks when policy changed New: Suspended agents do not start accepting tasks when policy changed
          Mark Waite made changes -
          Description Original: If SimpleScheduledRetentionStrategy is used, slave is regulary put to suspended state with setAcceptingTasks(false) according to schedule. If the policy is changed while slave is supended, suspended flag retain intact and slave can't be used. New: If SimpleScheduledRetentionStrategy is used, the agent is regularly put to suspended state with setAcceptingTasks(false) according to schedule. If the policy is changed while the agent is suspended, suspended flag retain intact and the agent can't be used.
          Mark Waite made changes -
          Remote Link New: This issue links to "PR-8717 Jenkins core pull request that resolves the issue (Web Link)" [ 29407 ]
          Mark Waite made changes -
          Released As New: 2.439
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Fixed but Unreleased [ 10203 ]

            mawinter69 Markus Winter
            tivv Vitalii Tymchyshyn
            Votes:
            11 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: