[
https://issues.jenkins-ci.org/browse/JENKINS-11889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161581#comment-161581
]
Nick Parrish commented on JENKINS-11889:
----------------------------------------
I am seeing this too. It is very annoying.
I changed the slave's policy back to "keep this slave on-line as much as
possible" and it will not accept jobs (says "(suspended)").
I tried marking the node as offline and bringing it back online - no change.
I tried disconnecting and reconnecting the slave - no change.
> Suspended slave do not start accepting tasks when policy changed
> ----------------------------------------------------------------
>
> Key: JENKINS-11889
> URL: https://issues.jenkins-ci.org/browse/JENKINS-11889
> Project: Jenkins
> Issue Type: Bug
> Components: slave-status
> Reporter: Vitalii Tymchyshyn
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira